コード例 #1
0
 /**
  * Creates a new instance of {@code ConcurrentRuntimeException} and initializes it with the given
  * message and cause.
  *
  * @param msg the error message
  * @param cause the cause of this exception
  * @throws IllegalArgumentException if the cause is not a checked exception
  */
 public ConcurrentRuntimeException(String msg, Throwable cause) {
   super(msg, ConcurrentUtils.checkedException(cause));
 }
コード例 #2
0
 /**
  * Creates a new instance of {@code ConcurrentException} and initializes it with the given message
  * and cause.
  *
  * @param msg the error message
  * @param cause the cause of this exception
  * @throws IllegalArgumentException if the cause is not a checked exception
  */
 public ConcurrentException(final String msg, final Throwable cause) {
   super(msg, ConcurrentUtils.checkedException(cause));
 }
コード例 #3
0
 /**
  * Creates a new instance of {@code ConcurrentRuntimeException} and initializes it with the given
  * cause.
  *
  * @param cause the cause of this exception
  * @throws IllegalArgumentException if the cause is not a checked exception
  */
 public ConcurrentRuntimeException(Throwable cause) {
   super(ConcurrentUtils.checkedException(cause));
 }
コード例 #4
0
 /**
  * Creates a new instance of {@code ConcurrentException} and initializes it with the given cause.
  *
  * @param cause the cause of this exception
  * @throws IllegalArgumentException if the cause is not a checked exception
  */
 public ConcurrentException(final Throwable cause) {
   super(ConcurrentUtils.checkedException(cause));
 }