/**
  * Constructs a new {@code UnsupportedOperationException} with the current
  * stack trace and the specified cause.
  *
  * @param cause
  *            the optional cause of this exception, may be {@code null}.
  * @since 1.5
  */
 public UnsupportedOperationException(Throwable cause)
     : base((cause == null ? null : cause.toString()), cause)
 {
 }
Пример #2
0
 /**
  * Constructs a new {@code IllegalStateException} with the current stack
  * trace and the specified cause.
  *
  * @param cause
  *            the cause of this exception, may be {@code null}.
  * @since 1.5
  */
 public IllegalStateException(Throwable cause)
     : base((cause == null ? null : cause.toString()), cause)
 {
 }
Пример #3
0
 /*
  * Constructs a new {@code IllegalStateException} with the current stack
  * trace and the specified cause.
  *
  * @param cause
  *            the cause of this exception, may be {@code null}.
  * @since 1.5
  */
 public IllegalStateException(Throwable cause) : base((cause == null ? null : cause.toString()), cause)
 {
 }
 /*
  * Constructs a new {@code UnsupportedOperationException} with the current
  * stack trace and the specified cause.
  *
  * @param cause
  *            the optional cause of this exception, may be {@code null}.
  * @since 1.5
  */
 public UnsupportedOperationException(Throwable cause) : base((cause == null ? null : cause.toString()), cause)
 {
 }