net.sourceforge.annovalidator.validation.exception
Class ValidatorMethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.annovalidator.validation.exception.ValidatorMethodException
All Implemented Interfaces:
java.io.Serializable

public class ValidatorMethodException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
ValidatorMethodException(java.lang.String validatorMethodName, java.lang.Class<?>[] validatorMethodArguments, java.lang.Exception cause)
          Constructs a new ValidatorMethodException for a Method that cannot be identified with the specified validatorMethodArguments.
ValidatorMethodException(java.lang.String validatorMethodName, java.lang.Object validatorObject, java.lang.Object[] validatorMethodArguments, java.lang.Exception cause)
          Constructs a new ValidatorMethodException for a Method that has failed to invoke.
 
Method Summary
 java.lang.String getMessage()
           
 
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
 

Constructor Detail

ValidatorMethodException

public ValidatorMethodException(java.lang.String validatorMethodName,
                                java.lang.Class<?>[] validatorMethodArguments,
                                java.lang.Exception cause)
Constructs a new ValidatorMethodException for a Method that cannot be identified with the specified validatorMethodArguments.

Parameters:
validatorMethodName - The name of the Method that could not be located.
validatorMethodArguments - The argument types for validatorMethodName.
cause - The Exception that is the root cause of this ValidatorMethodException.

ValidatorMethodException

public ValidatorMethodException(java.lang.String validatorMethodName,
                                java.lang.Object validatorObject,
                                java.lang.Object[] validatorMethodArguments,
                                java.lang.Exception cause)
Constructs a new ValidatorMethodException for a Method that has failed to invoke.

Parameters:
validatorMethodName - The name of the Method being invoked.
validatorObject - The Object that should contain validatorMethodName.
validatorMethodArguments - The argument types for validatorMethodName.
cause - The Exception that is the root cause of this ValidatorMethodException.
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2008. All Rights Reserved.