Class CodeInconsistencyException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    NotYetImplementedException

    public class CodeInconsistencyException
    extends RuntimeException
    Represents problems that arise purely from inconsistencies in the source code, as opposed to problems that are caused by user or environment data.

    For example, this exception may be used to wrap an "impossible" UnsupportedEncodingException for the encoding "UTF-8" (which is guaranteed to be supported by the Java specs). If it is thrown, a developer might have accidently changed the encoding (= a code inconsistency).
    See Also:
    Serialized Form
    • Constructor Detail

      • CodeInconsistencyException

        public CodeInconsistencyException()
      • CodeInconsistencyException

        public CodeInconsistencyException​(String message)
      • CodeInconsistencyException

        public CodeInconsistencyException​(Throwable cause)
      • CodeInconsistencyException

        public CodeInconsistencyException​(String message,
                                          Throwable cause)