com.taursys.model
Class ModelInvocationTargetException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
com.taursys.util.ChainedException
              
com.taursys.model.ModelException
                  
com.taursys.model.ModelPropertyAccessorException
                      
com.taursys.model.ModelInvocationTargetException
- All Implemented Interfaces: 
 - java.io.Serializable
 
- public class ModelInvocationTargetException
- extends ModelPropertyAccessorException
  
ModelPropertyAccessorException which is caused by InvocationTargetExceptions.
- See Also:
 - Serialized Form
 
 
| Fields inherited from class com.taursys.model.ModelPropertyAccessorException | 
friendlyMessages, givenValueDataType, givenValueObjectClassName, methodName, propertyDataType, propertyName, REASON_ILLEGAL_ACCESS_EXCEPTION, REASON_ILLEGAL_ARGUMENT_EXCEPTION, REASON_INTROSPECTION_EXCEPTION, REASON_NO_READ_METHOD_FOR_PROPERTY, REASON_NO_WRITE_METHOD_FOR_PROPERTY, REASON_NULL_VALUE_FOR_PRIMATIVE, REASON_PROPERTY_NAME_MISSING, REASON_PROPERTY_NOT_FOUND, REASON_TARGET_AND_CLASS_ARE_NULL, REASON_TARGET_CLASS_IS_NULL, REASON_TARGET_IS_NULL, valueObjectClassName | 
 
 
 
| 
Constructor Summary | 
ModelInvocationTargetException(java.lang.Class voClass,
                               java.lang.String propertyName,
                               int javaDataType,
                               java.lang.Object target,
                               java.lang.reflect.Method method,
                               java.lang.Throwable cause)
 
          Constructs exception for given reason, VO class, propertyName, data type, target object, invoked method and cause. | 
ModelInvocationTargetException(java.lang.Class voClass,
                               java.lang.String propertyName,
                               int javaDataType,
                               java.lang.Object target,
                               java.lang.Object value,
                               java.lang.reflect.Method method,
                               java.lang.Throwable cause)
 
          Constructs exception for given reason, VO class, propertyName, data type, invoked method and cause. | 
 
| 
Method Summary | 
static java.lang.String | 
getReasonMessage(int reason)
 
          Returns String for given reason code else String for REASON_INVALID_REASON_CODE. | 
 
| Methods inherited from class com.taursys.model.ModelPropertyAccessorException | 
getGivenValueDataType, getGivenValueObjectClassName, getMethodName, getPropertyDataType, getPropertyName, getValueObjectClassName, setDiagnosticsInfo, setGivenValueDataType, setGivenValueObjectClassName, setMethodName, setPropertyDataType, setValueObjectClassName | 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getMessage, getStackTrace, initCause, setStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
REASON_OFFSET
public static final int REASON_OFFSET
- See Also:
 - Constant Field Values
 
REASON_INVOCATION_EXCEPTION
public static final int REASON_INVOCATION_EXCEPTION
- See Also:
 - Constant Field Values
 
ModelInvocationTargetException
public ModelInvocationTargetException(java.lang.Class voClass,
                                      java.lang.String propertyName,
                                      int javaDataType,
                                      java.lang.Object target,
                                      java.lang.reflect.Method method,
                                      java.lang.Throwable cause)
- Constructs exception for given reason, VO class, propertyName, data type, target object, invoked method and cause.
 
ModelInvocationTargetException
public ModelInvocationTargetException(java.lang.Class voClass,
                                      java.lang.String propertyName,
                                      int javaDataType,
                                      java.lang.Object target,
                                      java.lang.Object value,
                                      java.lang.reflect.Method method,
                                      java.lang.Throwable cause)
- Constructs exception for given reason, VO class, propertyName, data type, invoked method and cause.
 
getReasonMessage
public static java.lang.String getReasonMessage(int reason)
- Returns String for given reason code else String for REASON_INVALID_REASON_CODE.
 
 
Copyright © 2007 Martin T Phelan. All Rights Reserved.