コード例 #1
0
 /**
  * Constructs the Exception
  *
  * @param errorCase - the {@link ErrorCase} for this message
  * @param e - the root cause for this exception
  */
 public PublicException(ErrorCase errorCase, Throwable e) {
   super(errorCase, errorCase.toString(), e);
 }
コード例 #2
0
 /**
  * Constructs the Exception
  *
  * @param errorCase - the {@link ErrorCase} for this message
  */
 public PublicException(ErrorCase errorCase) {
   super(errorCase, errorCase.toString());
 }