Class IntegrityError
java.lang.Object
java.lang.Throwable
java.lang.Error
io.github.thecsdev.tcdcommons.api.util.integrity.IntegrityError
- All Implemented Interfaces:
Serializable
Thrown to indicate that a
Class
or a set of Class
es have been tampered with.
This is a custom Error
type that extends the standard Error
class.
An IntegrityError
includes that one or more Class
es that were affected by an integrity violation.
The most common cause of integrity violations are things like unwanted code injections.
The array of affected Class
es can be retrieved using the getAffectedClasses()
method.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIntegrityError
(Class<?>... affectedClasses) IntegrityError
(String message, Class<?>... affectedClasses) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
affectedClasses
-
-
Constructor Details
-
IntegrityError
public IntegrityError() -
IntegrityError
-
IntegrityError
-
-
Method Details