public class InvalidPropertyException extends ResourceException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
PropertyDescriptor[] |
getInvalidPropertyDescriptors()
Get the invalid property descriptors
|
void |
setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)
Set the invalid property descriptors
|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPropertyException()
public InvalidPropertyException(String reason)
reason
- the reasonpublic InvalidPropertyException(String reason, String errorCode)
reason
- the reasonerrorCode
- the error codepublic InvalidPropertyException(String reason, Throwable throwable)
reason
- the reasonthrowable
- the errorpublic InvalidPropertyException(Throwable throwable)
throwable
- the errorpublic PropertyDescriptor[] getInvalidPropertyDescriptors()
public void setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)
an
- array of invalid property descriptorsCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.