コード例 #1
0
ファイル: SecurityException.cs プロジェクト: hakeemsm/XobotOS
		/// <summary>
		/// Constructs a new
		/// <code>SecurityException</code>
		/// with the current stack trace
		/// and the specified cause.
		/// </summary>
		/// <param name="cause">
		/// the optional cause of this exception, may be
		/// <code>null</code>
		/// .
		/// </param>
		/// <since>1.5</since>
		public SecurityException(System.Exception cause) : base((cause == null ? null : cause
			.ToString()), cause)
		{
		}
コード例 #2
0
		/// <summary>
		/// Constructs a new
		/// <code>UnsupportedOperationException</code>
		/// with the current
		/// stack trace and the specified cause.
		/// </summary>
		/// <param name="cause">
		/// the optional cause of this exception, may be
		/// <code>null</code>
		/// .
		/// </param>
		/// <since>1.5</since>
		public NotSupportedException(System.Exception cause) : base((cause == null ? null
			 : cause.ToString()), cause)
		{
		}
コード例 #3
0
		/// <summary>
		/// Constructs a new
		/// <code>IllegalStateException</code>
		/// with the current stack
		/// trace and the specified cause.
		/// </summary>
		/// <param name="cause">
		/// the cause of this exception, may be
		/// <code>null</code>
		/// .
		/// </param>
		/// <since>1.5</since>
		public InvalidOperationException(System.Exception cause) : base((cause == null ? 
			null : cause.ToString()), cause)
		{
		}