jef.dna.attributes.exceptions
Class LocalVariableTableEntryValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jef.dna.exceptions.ValidationExceptionAncestor
jef.dna.attributes.exceptions.AttributeValidationException
jef.dna.attributes.exceptions.LocalVariableTableEntryValidationException
- All Implemented Interfaces:
- java.io.Serializable
public class LocalVariableTableEntryValidationException
- extends AttributeValidationException
This exception is thrown upon failure when validating a LocalVariableTableEntry
.
This exception might store within its nested exception an UnknownOpCodeException
.
- Author:
- Francesco Russo
- See Also:
- Serialized Form
Constructor Summary |
LocalVariableTableEntryValidationException(java.lang.Object srcEntity,
java.lang.String attribute,
java.lang.Integer actualValue,
Range expectedValue,
java.lang.String msg)
Creates a new instance of LocalVariableTableEntryValidationException without
detail message. |
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 |
LocalVariableTableEntryValidationException
public LocalVariableTableEntryValidationException(java.lang.Object srcEntity,
java.lang.String attribute,
java.lang.Integer actualValue,
Range expectedValue,
java.lang.String msg)
- Creates a new instance of
LocalVariableTableEntryValidationException
without
detail message.
- 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