public class BusinessException extends RuntimeException
| Modifier and Type | Method and Description |
|---|---|
static BusinessException |
getInstance(String message)
Construct an Exception with message.
|
static BusinessException |
getInstance(String message,
Throwable cause)
Construct an Exception with message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static BusinessException getInstance(String message)
message - The description of the exception.public static BusinessException getInstance(String message, Throwable cause)
message - The description of the exception.cause - The cause of the exception.Copyright © 2010-2016. All Rights Reserved.