public class InvalidObjectException
extends java.lang.Exception
| Constructor and Description |
|---|
InvalidObjectException(java.lang.Object obj)
Creates a new instance of
InvalidObjectException without detail message. |
InvalidObjectException(java.lang.Object obj,
java.lang.String msg)
Constructs an instance of
InvalidObjectException with the specified detail message. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyError(java.lang.String propertyName,
java.lang.String error) |
java.util.Set |
getInvalidProperties() |
java.lang.String |
getPropertyError(java.lang.String propertyName) |
java.lang.String |
toString() |
public InvalidObjectException(java.lang.Object obj)
InvalidObjectException without detail message.public InvalidObjectException(java.lang.Object obj,
java.lang.String msg)
InvalidObjectException with the specified detail message.msg - the detail message.public void addPropertyError(java.lang.String propertyName,
java.lang.String error)
public java.util.Set getInvalidProperties()
public java.lang.String getPropertyError(java.lang.String propertyName)
public java.lang.String toString()
toString in class java.lang.ThrowableCopyright © 2007 Sun Microsystems, Inc. All rights reserved.