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)
public PropertyDescriptor[] getInvalidPropertyDescriptors()
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.