/**
  * 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));
 }
Exemplo n.º 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));
 }
 /**
  * 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));
 }
Exemplo n.º 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));
 }