Class TaskanaRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- pro.taskana.common.api.exceptions.TaskanaRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AutocommitFailedException,ConnectionNotSetException,InvalidArgumentException,SystemException,UnsupportedDatabaseException,WrongCustomHolidayFormatException
public class TaskanaRuntimeException extends RuntimeException
The common base class for TASKANA's runtime exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTaskanaRuntimeException(String message, ErrorCode errorCode)protectedTaskanaRuntimeException(String message, ErrorCode errorCode, Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static SerializableensureNullIsHandled(Serializable o)ErrorCodegetErrorCode()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getErrorCode
public ErrorCode getErrorCode()
-
ensureNullIsHandled
protected static Serializable ensureNullIsHandled(Serializable o)
-
-