Package net.ggtools.grand.exceptions
Class GrandException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.ggtools.grand.exceptions.GrandException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DuplicateElementException
,NonExistentNodeException
public class GrandException extends Exception
Base class for all grand exceptions.- Author:
- Christophe Labouisse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GrandException()
Creates an new "empty" exception.GrandException(String message)
Creates an new exception.GrandException(String message, Throwable cause)
Creates an new exception.GrandException(Throwable cause)
Creates an new exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GrandException
public GrandException()
Creates an new "empty" exception.
-
GrandException
public GrandException(String message)
Creates an new exception.- Parameters:
message
- explanatory message of the exception cause.
-
GrandException
public GrandException(Throwable cause)
Creates an new exception.- Parameters:
cause
- root cause
-
-