public class PropertyAccessException extends BeansException implements ErrorCoded
Title: PropertyAccessException.java
Description:
bboss workgroup
Copyright (c) 2008
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
errorCode |
| Constructor and Description |
|---|
PropertyAccessException(java.beans.PropertyChangeEvent propertyChangeEvent,
java.lang.String msg,
java.lang.Throwable cause)
Create a new PropertyAccessException.
|
PropertyAccessException(java.lang.String msg,
java.lang.Throwable cause)
Create a new PropertyAccessException without PropertyChangeEvent.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorCode()
Return the error code associated with this failure.
|
java.beans.PropertyChangeEvent |
getPropertyChangeEvent()
Return the PropertyChangeEvent that resulted in the problem.
|
void |
setErrorCode(java.lang.String errorCode) |
equals, hashCodecontains, getMessage, getMostSpecificCause, getRootCausepublic PropertyAccessException(java.beans.PropertyChangeEvent propertyChangeEvent,
java.lang.String msg,
java.lang.Throwable cause)
propertyChangeEvent - the PropertyChangeEvent that resulted in the problemmsg - the detail messagecause - the root causepublic PropertyAccessException(java.lang.String msg,
java.lang.Throwable cause)
msg - the detail messagecause - the root causepublic java.beans.PropertyChangeEvent getPropertyChangeEvent()
null; only available if an actual bean property
was affected.public java.lang.String getErrorCode()
ErrorCodedgetErrorCode in interface ErrorCodednull if not error-codedpublic void setErrorCode(java.lang.String errorCode)