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
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"
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCodeInconsistencyException
(String message) CodeInconsistencyException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CodeInconsistencyException
public CodeInconsistencyException() -
CodeInconsistencyException
-
CodeInconsistencyException
-
CodeInconsistencyException
-