public class InvalidPropertyException extends ResourceException
Constructor and Description |
---|
InvalidPropertyException()
Create a InvalidPropertyException.
|
InvalidPropertyException(String message)
Create a InvalidPropertyException.
|
InvalidPropertyException(String message,
String errorCode)
Constructs a new throwable with the specified detail message and
an error code.
|
InvalidPropertyException(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
InvalidPropertyException(Throwable cause)
Constructs a new throwable with the specified cause.
|
Modifier and Type | Method and Description |
---|---|
PropertyDescriptor[] |
getInvalidPropertyDescriptors()
Get the list of invalid properties.
|
void |
setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)
Set a list of invalid properties.
|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPropertyException()
public InvalidPropertyException(String message)
message
- a description of the exceptionpublic InvalidPropertyException(Throwable cause)
cause
- a chained exception of type Throwable
.public InvalidPropertyException(String message, Throwable cause)
message
- the detail message.cause
- a chained exception of type Throwable
.public void setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)
invalidProperties
- The invalid propertiespublic PropertyDescriptor[] getInvalidPropertyDescriptors()
Copyright © 2017 JBoss by Red Hat. All rights reserved.