javax.resource.spi
Class InvalidPropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException (src) 
              extended byjavax.resource.spi.InvalidPropertyException
All Implemented Interfaces:
java.io.Serializable

public class InvalidPropertyException
extends ResourceException (src)

Represents invalid configuration properties

See Also:
Serialized Form

Constructor Summary
InvalidPropertyException()
          Create an invalid property exception.
InvalidPropertyException(java.lang.String reason)
          Create an invalid property exception with a reason.
InvalidPropertyException(java.lang.String reason, java.lang.String errorCode)
          Create an invalid property exception with a reason and an errorCode.
InvalidPropertyException(java.lang.String reason, java.lang.Throwable throwable)
          Create an invalid property exception with a reason and an error.
InvalidPropertyException(java.lang.Throwable throwable)
          Create an invalid property exception with an error.
 
Method Summary
 java.beans.PropertyDescriptor[] getInvalidPropertyDescriptors()
          Get the invalid property descriptors
 void setInvalidPropertyDescriptors(java.beans.PropertyDescriptor[] invalidProperties)
          Set the invalid property descriptors
 
Methods inherited from class javax.resource.ResourceException (src)
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
 
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

InvalidPropertyException

public InvalidPropertyException()
Create an invalid property exception.


InvalidPropertyException

public InvalidPropertyException(java.lang.String reason)
Create an invalid property exception with a reason.

Parameters:
reason - the reason

InvalidPropertyException

public InvalidPropertyException(java.lang.String reason,
                                java.lang.String errorCode)
Create an invalid property exception with a reason and an errorCode.

Parameters:
reason - the reason
errorCode - the error code

InvalidPropertyException

public InvalidPropertyException(java.lang.String reason,
                                java.lang.Throwable throwable)
Create an invalid property exception with a reason and an error.

Parameters:
reason - the reason
throwable - the error

InvalidPropertyException

public InvalidPropertyException(java.lang.Throwable throwable)
Create an invalid property exception with an error.

Parameters:
throwable - the error
Method Detail

getInvalidPropertyDescriptors

public java.beans.PropertyDescriptor[] getInvalidPropertyDescriptors()
Get the invalid property descriptors

Returns:
an array of invalid property descriptors

setInvalidPropertyDescriptors

public void setInvalidPropertyDescriptors(java.beans.PropertyDescriptor[] invalidProperties)
Set the invalid property descriptors