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
Nested ClassesModifier and TypeClassDescriptionstatic enumWhiteflag protocol error categories -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal WfException.ErrorTypeWhiteflag error category as defined byWfException.ErrorType -
Constructor Summary
ConstructorsConstructorDescriptionWfException(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
-