Esempio n. 1
0
		/// <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)
		{
		}
		/// <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)
		{
		}
Esempio n. 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)
		{
		}