public class PropertyException
extends java.lang.RuntimeException
Constructor and Description |
---|
PropertyException(java.lang.Exception e) |
PropertyException(java.lang.String instanceName,
java.lang.String propertyName,
java.lang.String msg)
Creates a new property exception.
|
PropertyException(java.lang.Throwable cause,
java.lang.String instanceName,
java.lang.String propertyName,
java.lang.String msg)
Creates a new property exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty()
Retrieves the name of the offending property
|
java.lang.String |
toString()
Returns a string representation of this object
|
public PropertyException(java.lang.String instanceName, java.lang.String propertyName, java.lang.String msg)
instanceName
- The component this exception is related to. (or null
if unknown)propertyName
- The name of the component-property which the problem is related. (or null
if
unknown)msg
- a description of the problem.public PropertyException(java.lang.Throwable cause, java.lang.String instanceName, java.lang.String propertyName, java.lang.String msg)
cause
- The cause of exception. (or null
if unknown)instanceName
- The component this exception is related to. (or null
if unknown)propertyName
- The name of the component-property which the problem is related. (or null
if
unknown)msg
- a description of the problem.public PropertyException(java.lang.Exception e)
public java.lang.String getProperty()
public java.lang.String toString()
toString
in class java.lang.Throwable