public class JaloBusinessException extends Exception
| Constructor and Description |
|---|
JaloBusinessException(String message)
Creates a new business exception.
|
JaloBusinessException(String message,
int errorCode)
Creates a new business exception.
|
JaloBusinessException(Throwable nested)
Creates a new business exception.
|
JaloBusinessException(Throwable nested,
int errorCode)
Creates a new business exception with a nested exception.
|
JaloBusinessException(Throwable nested,
String message,
int errorCode)
Creates a new business exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Gets the error code of this exception.
|
Throwable |
getThrowable()
Deprecated.
use
Throwable.getCause() instead |
String |
toString()
Adds the error code of this exception to the output string.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic JaloBusinessException(Throwable nested, String message, int errorCode)
nested - cause exceptionmessage - error messageerrorCode - related error codepublic JaloBusinessException(String message, int errorCode)
message - error messageerrorCode - related error codepublic JaloBusinessException(Throwable nested, int errorCode)
nested - the exception that caused this exceptionerrorCode - a unique exception codepublic JaloBusinessException(Throwable nested)
nested - the exception that caused this exceptionpublic JaloBusinessException(String message)
message - error messagepublic int getErrorCode()
@Deprecated public Throwable getThrowable()
Throwable.getCause() insteadCopyright © 2017 SAP SE. All Rights Reserved.