Top Description Fields Constructors Methods
javax.resource.spi

public Class InvalidPropertyException

extends ResourceException
Class Inheritance
Imports
java.beans.PropertyDescriptor

This exception is thrown to indicate invalid configuration property settings.
Author
Ram Jeyaraman
Version
0.2

Field Summary

Modifier and TypeField and Description
private PropertyDescriptor[]

Constructor Summary

AccessConstructor and Description
public
InvalidPropertyException()

Create a InvalidPropertyException.

public
InvalidPropertyException(String
a description of the exception
message
)

Create a InvalidPropertyException.

public
InvalidPropertyException(Throwable
a chained exception of type Throwable.
cause
)

Constructs a new throwable with the specified cause.

public
InvalidPropertyException(String
the detail message.
message
,
Throwable
a chained exception of type Throwable.
cause
)

Constructs a new throwable with the specified detail message and cause.

public
InvalidPropertyException(String
a description of the exception.
message
,
String
a string specifying the vendor specific error code.
errorCode
)

Constructs a new throwable with the specified detail message and an error code.

Method Summary

Modifier and TypeMethod and Description
public PropertyDescriptor[]
getInvalidPropertyDescriptors()

Get the list of invalid properties.

public void
setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)

Set a list of invalid properties.

Inherited from javax.resource.ResourceException:
getErrorCodegetLinkedExceptiongetMessagesetErrorCodesetLinkedException

Field Detail

invalidPropertiesback to summary
private PropertyDescriptor[] invalidProperties

Constructor Detail

InvalidPropertyExceptionback to summary
public InvalidPropertyException()

Create a InvalidPropertyException.

InvalidPropertyExceptionback to summary
public InvalidPropertyException(String message)

Create a InvalidPropertyException.

Parameters
message:String

a description of the exception

InvalidPropertyExceptionback to summary
public InvalidPropertyException(Throwable cause)

Constructs a new throwable with the specified cause.

Parameters
cause:Throwable

a chained exception of type Throwable.

InvalidPropertyExceptionback to summary
public InvalidPropertyException(String message, Throwable cause)

Constructs a new throwable with the specified detail message and cause.

Parameters
message:String

the detail message.

cause:Throwable

a chained exception of type Throwable.

InvalidPropertyExceptionback to summary
public InvalidPropertyException(String message, String errorCode)

Constructs a new throwable with the specified detail message and an error code.

Parameters
message:String

a description of the exception.

errorCode:String

a string specifying the vendor specific error code.

Method Detail

getInvalidPropertyDescriptorsback to summary
public PropertyDescriptor[] getInvalidPropertyDescriptors()

Get the list of invalid properties.

setInvalidPropertyDescriptorsback to summary
public void setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)

Set a list of invalid properties.