public class GenericCodedException
extends java.lang.Exception
| Constructor and Description |
|---|
GenericCodedException(GenericCodedException other)
Creates a new exception given other exception.
|
GenericCodedException(java.lang.String text,
java.lang.String code,
java.lang.Exception exCause,
java.lang.String... args)
Creates a new exception with the given message text, code and exception cause.
|
GenericCodedException(java.lang.String text,
java.lang.String code,
java.lang.String... args)
Creates a new exception with the given message text and code.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Returns this exception code value.
|
public GenericCodedException(java.lang.String text,
java.lang.String code,
java.lang.String... args)
text - Message text.code - Exception code.args - Optional arguments for the text error message.public GenericCodedException(java.lang.String text,
java.lang.String code,
java.lang.Exception exCause,
java.lang.String... args)
text - Message text.code - Exception code.exCause - Exception cause.args - Optional arguments for the text error message.public GenericCodedException(GenericCodedException other)
other - Other exception which code and message will be used by this exception.