
public class IllegalPropertyTypeException extends IllegalStateException
| Constructor and Description |
|---|
IllegalPropertyTypeException(String name,
Class type,
Class expectedType)
Creates a new instance of
IllegalPropertyTypeException taking a
property name and the illegal type. |
| Modifier and Type | Method and Description |
|---|---|
Class |
getExpectedType()
Gets the expected type of the property.
|
String |
getName()
Gets the name of the property with illegal type.
|
Class |
getType()
Gets the illegal type of the property.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalPropertyTypeException(String name, Class type, Class expectedType)
IllegalPropertyTypeException taking a
property name and the illegal type.name - the name of the property with illegal type.type - the illegal type of the property with name name.expectedType - the expected type of the property with name
name.public Class getExpectedType()
public String getName()
Copyright © 2005-2012 jDTAUS. All Rights Reserved.