jef.dna.attributes.exceptions
Class ExceptionTableEntryValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jef.dna.exceptions.ValidationExceptionAncestor
jef.dna.attributes.exceptions.AttributeValidationException
jef.dna.attributes.exceptions.ExceptionTableEntryValidationException
- All Implemented Interfaces:
- java.io.Serializable
public class ExceptionTableEntryValidationException
- extends AttributeValidationException
This exception is thrown whenever the validation of an
ExceptionTableEntryValidationException
fails
- Author:
- Francesco Russo frusso@cs.unibo.it
- See Also:
- Serialized Form
Constructor Summary |
ExceptionTableEntryValidationException(java.lang.Object srcEntity,
java.lang.String attribute,
java.lang.Integer actualValue,
Range expectedValue,
java.lang.String msg)
Creates a new instance of ExceptionTableEntryValidationException |
Methods inherited from class jef.dna.attributes.exceptions.AttributeValidationException |
getInnerClassesTblValidExc, getLineNumberTblValidExc, getLocalVariableTblEntryValidExc, hasExcpTableValidException, hasInnerClassesTableEntryValidException, hasLineNumberTableEntryValidException, hasLocalVariableTableEntryValidException, setExceptionTblValidExc, setExceptionTblValidExc, setInnerClassesTblValidExc, setLineNumberTblValidExc, setLocalVariableTblValidExc |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExceptionTableEntryValidationException
public ExceptionTableEntryValidationException(java.lang.Object srcEntity,
java.lang.String attribute,
java.lang.Integer actualValue,
Range expectedValue,
java.lang.String msg)
- Creates a new instance of ExceptionTableEntryValidationException
- Parameters:
srcEntity
- The entity that generated the current exceptionattribute
- The entity's attribute that caused the current exceptionactualValue
- The entity attribute's current valueexpectedValue
- The admitted range within the value should be locatedmsg
- The exception message
getExpectedValue
public java.lang.Object getExpectedValue()
- Returns the expected value associated with the attribute over which the validation process
failed. WARNING: this value might be
null
should not be possible to infer an
expected correct value.
- Overrides:
getExpectedValue
in class AttributeValidationException
- Returns:
- Object The actual value
setInnerUnknownOpCodeException
public void setInnerUnknownOpCodeException(UnknownOpCodeException e)
- Set the
UnknownOpCodeException
that caused the current exception to be raised.
- Parameters:
e
- The source of the current exception
getInnerUnknownOpCodeException
public UnknownOpCodeException getInnerUnknownOpCodeException()
- Get the
UnknownOpCodeException
that caused the current exception to be raised.
- Returns:
- UnknownOpCodeException