public class TitanException extends RuntimeException
| Constructor and Description |
|---|
TitanException(String msg) |
TitanException(String msg,
Throwable cause) |
TitanException(Throwable cause)
Constructs an exception with a generic message
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCausedBy(Class<?> causeExceptionType)
Checks whether this exception is cause by an exception of the given type.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TitanException(String msg)
msg - Exception messagepublic TitanException(String msg, Throwable cause)
msg - Exception messagecause - Cause of the exceptionpublic TitanException(Throwable cause)
cause - Cause of the exceptionpublic boolean isCausedBy(Class<?> causeExceptionType)
causeExceptionType - exception typeCopyright © 2012–2015. All rights reserved.