Class GordianException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.tonywasher.joceanus.gordianknot.api.base.GordianException
- All Implemented Interfaces:
Serializable
Exception extension class.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGordianException(Object o, String s) Create a new Exception object based on a string and an object.protectedGordianException(Object o, String s, Throwable c) Create a new Exception object based on a string, an object and an underlying exception.protectedCreate a new Exception object based on a string and class.protectedGordianException(String s, Throwable c) Create a new Exception object based on a string and an underlying exception.protectedCreate a wrapped Exception object based on an underlying exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GordianException
Create a wrapped Exception object based on an underlying exception.- Parameters:
c- the underlying exception
-
GordianException
Create a new Exception object based on a string and class.- Parameters:
s- the description of the exception
-
GordianException
Create a new Exception object based on a string and an underlying exception.- Parameters:
s- the description of the exceptionc- the underlying exception
-
GordianException
Create a new Exception object based on a string and an object.- Parameters:
o- the associated objects- the description of the exception
-
GordianException
Create a new Exception object based on a string, an object and an underlying exception.- Parameters:
o- the associated objects- the description of the exceptionc- the underlying exception
-
-
Method Details
-
getObject
Get the associated object.- Returns:
- the associated object
-