Class ConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.spongepowered.asm.util.throwables.ConstraintViolationException
- All Implemented Interfaces:
java.io.Serializable
public class ConstraintViolationException
extends java.lang.Exception
Exception thrown when a constraint violation is encountered
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ConstraintViolationException(java.lang.String message, java.lang.Throwable cause, ConstraintParser.Constraint constraint)ConstraintViolationException(java.lang.String message, java.lang.Throwable cause, ConstraintParser.Constraint constraint, int badValue)ConstraintViolationException(java.lang.String message, ConstraintParser.Constraint constraint)ConstraintViolationException(java.lang.String message, ConstraintParser.Constraint constraint, int badValue)ConstraintViolationException(java.lang.Throwable cause, ConstraintParser.Constraint constraint)ConstraintViolationException(java.lang.Throwable cause, ConstraintParser.Constraint constraint, int badValue)ConstraintViolationException(ConstraintParser.Constraint constraint)ConstraintViolationException(ConstraintParser.Constraint constraint, int badValue) -
Method Summary
Modifier and Type Method Description java.lang.StringgetBadValue()ConstraintParser.ConstraintgetConstraint()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ConstraintViolationException
-
ConstraintViolationException
-
ConstraintViolationException
public ConstraintViolationException(java.lang.String message, ConstraintParser.Constraint constraint) -
ConstraintViolationException
public ConstraintViolationException(java.lang.String message, ConstraintParser.Constraint constraint, int badValue) -
ConstraintViolationException
public ConstraintViolationException(java.lang.Throwable cause, ConstraintParser.Constraint constraint) -
ConstraintViolationException
public ConstraintViolationException(java.lang.Throwable cause, ConstraintParser.Constraint constraint, int badValue) -
ConstraintViolationException
public ConstraintViolationException(java.lang.String message, java.lang.Throwable cause, ConstraintParser.Constraint constraint) -
ConstraintViolationException
public ConstraintViolationException(java.lang.String message, java.lang.Throwable cause, ConstraintParser.Constraint constraint, int badValue)
-
-
Method Details
-
getConstraint
-
getBadValue
public java.lang.String getBadValue()
-