Package com.github.mizool.core.exception
Class CodeInconsistencyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.mizool.core.exception.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 Summary
Constructors Constructor Description CodeInconsistencyException()
CodeInconsistencyException(String message)
CodeInconsistencyException(String message, Throwable cause)
CodeInconsistencyException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-