Class ParameterizableErrorCodedPropertyVetoException

All Implemented Interfaces:
ErrorCoded, HasRootCause, ParameterizableErrorCoded,

public class ParameterizableErrorCodedPropertyVetoException
extends ErrorCodedPropertyVetoException
implements ParameterizableErrorCoded

Exception used by PropertyVetosException to wrap failures. Clients can throw these.

$Id:,v 1.2 2003/03/21 14:32:22 jhoeller Exp $
Tony Falabella
See Also:
Serialized Form

Fields inherited from class com.interface21.beans.ErrorCodedPropertyVetoException
Fields inherited from interface com.interface21.core.ErrorCoded
Constructor Summary
ParameterizableErrorCodedPropertyVetoException(java.lang.String mesg, java.beans.PropertyChangeEvent e, java.lang.String errorCode, java.lang.Object[] errorArgs)
          Creates new ErrorCodedPropertyVetoException.
Method Summary
 java.lang.Object[] getErrorArgs()
          Implementation of ParameterizableErrorCoded interface.
 java.lang.String toString()
Methods inherited from class com.interface21.beans.ErrorCodedPropertyVetoException
getErrorCode, getRootCause
Methods inherited from class java.beans.PropertyVetoException
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.interface21.core.ErrorCoded

Constructor Detail


public ParameterizableErrorCodedPropertyVetoException(java.lang.String mesg,
                                                      java.beans.PropertyChangeEvent e,
                                                      java.lang.String errorCode,
                                                      java.lang.Object[] errorArgs)
Creates new ErrorCodedPropertyVetoException. This signature will be called when either the caller has an object that has an ErrorCoded interface and they are calling us with that or if they want to use the ErrorCoded ability of this exception. NOTE: Mesg passed in will already have been "resolved". We will take the string passed in literally as is. This means that the caller of this method either created a literal string and passed it to us, OR the caller looked up the string value for a mesg themself in a msgCat BEFORE calling us.
Method Detail


public java.lang.Object[] getErrorArgs()
Implementation of ParameterizableErrorCoded interface.
Specified by:
getErrorArgs in interface ParameterizableErrorCoded
An array of objects to be used as params to replace placeholders within the errorCode message text.


public java.lang.String toString()
toString in class ErrorCodedPropertyVetoException

Rod Johnson and Spring contributors 2001-2003.