jef.dna.attributes.exceptions
Class ExceptionTableEntryValidationException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           jef.dna.exceptions.ValidationExceptionAncestor
jef.dna.exceptions.ValidationExceptionAncestor
               jef.dna.attributes.exceptions.AttributeValidationException
jef.dna.attributes.exceptions.AttributeValidationException
                   jef.dna.attributes.exceptions.ExceptionTableEntryValidationException
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 exception
- attribute- The entity's attribute that caused the current exception
- actualValue- The entity attribute's current value
- expectedValue- The admitted range within the value should be located
- msg- 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 nullshould not be possible to infer an
 expected correct value.
 
- 
- Overrides:
- getExpectedValuein class- AttributeValidationException
 
- 
- Returns:
- Object The actual value
 
setInnerUnknownOpCodeException
public void setInnerUnknownOpCodeException(UnknownOpCodeException e)
- Set the UnknownOpCodeExceptionthat caused the current exception to be raised.
 
- 
- Parameters:
- e- The source of the current exception
 
getInnerUnknownOpCodeException
public UnknownOpCodeException getInnerUnknownOpCodeException()
- Get the UnknownOpCodeExceptionthat caused the current exception to be raised.
 
- 
- Returns:
- UnknownOpCodeException