|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
javax.resource.spi.InvalidPropertyException
public class InvalidPropertyException
Represents invalid configuration properties
| Constructor Summary | |
|---|---|
InvalidPropertyException()
Create an invalid property exception. |
|
InvalidPropertyException(String reason)
Create an invalid property exception with a reason. |
|
InvalidPropertyException(String reason,
String errorCode)
Create an invalid property exception with a reason and an errorCode. |
|
InvalidPropertyException(String reason,
Throwable throwable)
Create an invalid property exception with a reason and an error. |
|
InvalidPropertyException(Throwable throwable)
Create an invalid property exception with an error. |
|
| Method Summary | |
|---|---|
PropertyDescriptor[] |
getInvalidPropertyDescriptors()
Get the invalid property descriptors |
void |
setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)
Set the invalid property descriptors |
| Methods inherited from class javax.resource.ResourceException |
|---|
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 |
|---|
public InvalidPropertyException()
public InvalidPropertyException(String reason)
reason - the reason
public InvalidPropertyException(String reason,
String errorCode)
reason - the reasonerrorCode - the error code
public InvalidPropertyException(String reason,
Throwable throwable)
reason - the reasonthrowable - the errorpublic InvalidPropertyException(Throwable throwable)
throwable - the error| Method Detail |
|---|
public PropertyDescriptor[] getInvalidPropertyDescriptors()
public void setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)
an - array of invalid property descriptors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||