Package rea

Class ReaException

All Implemented Interfaces:
Serializable

public class ReaException extends Exception
An exception in the game. It is thrown when something goes wrong in the game. It is a checked exception, so it must be caught or declared. It is a subclass of Exception.
See Also:
  • Constructor Details

    • ReaException

      public ReaException()
      Create a new ReaException with no message.
    • ReaException

      public ReaException(String message)
      Create a new ReaException with a message.
      Parameters:
      message - the message
    • ReaException

      public ReaException(String message, Throwable cause)
      Create a new ReaException with a message and a cause.
      Parameters:
      message - the message
      cause - the cause
    • ReaException

      public ReaException(Throwable cause)
      Create a new ReaException with a cause.
      Parameters:
      cause - the cause
    • ReaException

      public ReaException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Create a new ReaException with a message, a cause, and flags for suppression and stack trace.
      Parameters:
      message - the message
      cause - the cause
      enableSuppression - wheather or not suppression is enabled or disabled
      writableStackTrace - whe ther or not the stack trace should be writable