Class GrengineException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClassNameConflictException, CompileException, CreateException, LoadException

public class GrengineException extends RuntimeException
General Grengine exception.
Since:
1.0
Author:
Alain Stalder, Made in Switzerland.
See Also:
  • Constructor Details

    • GrengineException

      public GrengineException(String message)
      constructor from exception message.
      Parameters:
      message - message
      Since:
      1.0
    • GrengineException

      public GrengineException(String message, Throwable cause)
      constructor from exception message and causing throwable.
      Parameters:
      message - message
      cause - cause
      Since:
      1.0
  • Method Details

    • getMessage

      public String getMessage()
      gets the exception message given in the constructor, with the exception message of the causing throwable appended, if there was one.
      Overrides:
      getMessage in class Throwable
      Returns:
      message
      Since:
      1.0
    • getDateThrown

      public Date getDateThrown()
      gets the date (with time) when the exception was thrown.
      Returns:
      date (with time) when the exception was thrown
      Since:
      1.0