Class SARLInternalException

All Implemented Interfaces:
Serializable

public class SARLInternalException extends SARLException
A SARL internal exception represents an error that is "not supposed to happen." It can be used like an assertion, whenever you feel that something should always be true. It is a runtime exception, so there is no need to declare or catch it. It will be thrown all the way up to main and reported.
See Also:
  • Constructor Details

    • SARLInternalException

      public SARLInternalException(String msg)
      Constructs a new instance whose message is formed by pre-pending to the given msg string stating that this is an internal error and the error should be reported to the developers.
      Parameters:
      msg - a message describing what went wrong