Package org.whiteflagprotocol.java
Class WfException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.whiteflagprotocol.java.WfException
- All Implemented Interfaces:
Serializable
Whiteflag protocol exception class
- Since:
- 1.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Whiteflag protocol error categories -
Field Summary
Modifier and TypeFieldDescriptionfinal WfException.ErrorType
Whiteflag error category as defined byWfException.ErrorType
-
Constructor Summary
ConstructorDescriptionWfException
(String message, Throwable cause, WfException.ErrorType type) Creates a Whiteflag exception with a specific error type -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorType
Whiteflag error category as defined byWfException.ErrorType
-
-
Constructor Details
-
WfException
Creates a Whiteflag exception with a specific error type- Parameters:
message
- a human readible error messagecause
- the causing error, or nulltype
- the Whiteflag error type
-