java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.tonywasher.joceanus.gordianknot.api.base.GordianException
All Implemented Interfaces:
Serializable

public abstract class GordianException extends Exception
Exception extension class.
See Also:
  • Constructor Details

    • GordianException

      protected GordianException(Throwable c)
      Create a wrapped Exception object based on an underlying exception.
      Parameters:
      c - the underlying exception
    • GordianException

      protected GordianException(String s)
      Create a new Exception object based on a string and class.
      Parameters:
      s - the description of the exception
    • GordianException

      protected GordianException(String s, Throwable c)
      Create a new Exception object based on a string and an underlying exception.
      Parameters:
      s - the description of the exception
      c - the underlying exception
    • GordianException

      protected GordianException(Object o, String s)
      Create a new Exception object based on a string and an object.
      Parameters:
      o - the associated object
      s - the description of the exception
    • GordianException

      protected GordianException(Object o, String s, Throwable c)
      Create a new Exception object based on a string, an object and an underlying exception.
      Parameters:
      o - the associated object
      s - the description of the exception
      c - the underlying exception
  • Method Details

    • getObject

      public Object getObject()
      Get the associated object.
      Returns:
      the associated object