Class OptionException

All Implemented Interfaces:
Serializable

public class OptionException extends Exception
Exception thrown if there was a problem accessing an Option, or if an informational message is to be conveyed.
See Also:
  • Constructor Details

    • OptionException

      public OptionException(String msg)
      Construct a new OptionException.
      Parameters:
      msg - reason for the exception
    • OptionException

      public OptionException(String msg, boolean isInfo)
      Construct a new OptionException that may be an informational message if isValid is true.
      Parameters:
      msg - message to display
      isInfo - true if the msg is in informational message
  • Method Details

    • isInfoMessage

      public boolean isInfoMessage()
      Return whether the message associated with this exception is informational.