Package org.wso2.carbon.ntask.common
Class TaskException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.wso2.carbon.ntask.common.TaskException
-
- All Implemented Interfaces:
Serializable
public class TaskException extends Exception
This class represents exceptions occurred in related to Tasks.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaskException.Code
-
Constructor Summary
Constructors Constructor Description TaskException(String msg, TaskException.Code code)
TaskException(String msg, TaskException.Code code, Exception nestedEx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskException.Code
getCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TaskException
public TaskException(String msg, TaskException.Code code)
-
TaskException
public TaskException(String msg, TaskException.Code code, Exception nestedEx)
-
-
Method Detail
-
getCode
public TaskException.Code getCode()
-
-