Module dev.civl.mc

Class CIVLInternalException

All Implemented Interfaces:
Serializable

public class CIVLInternalException extends CIVLException
A CIVL 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

    • CIVLInternalException

      public CIVLInternalException(String s, CIVLSource source)
    • CIVLInternalException

      public CIVLInternalException(String s, Sourceable sourceable)
    • CIVLInternalException

      public CIVLInternalException(String s, dev.civl.abc.token.IF.Source source)