/** * 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); }
/** * Constructs the Exception * * @param errorCase - the {@link ErrorCase} for this message */ public PublicException(ErrorCase errorCase) { super(errorCase, errorCase.toString()); }