java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.civl.sarl.IF.SARLException
dev.civl.sarl.IF.SARLInternalException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionConstructs 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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SARLInternalException
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
-