|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.convert.BasicObjectConverter
org.directwebremoting.convert.BeanConverter
org.directwebremoting.convert.ExceptionConverter
public class ExceptionConverter
A special case of BeanConverter that doesn't convert StackTraces
| Constructor Summary | |
|---|---|
ExceptionConverter()
|
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,Property> |
getPropertyMapFromClass(java.lang.Class<?> type,
boolean readRequired,
boolean writeRequired)
Get a map of property names to implementations of Property. |
| Methods inherited from class org.directwebremoting.convert.BeanConverter |
|---|
getPropertyMapFromObject |
| Methods inherited from class org.directwebremoting.convert.BasicObjectConverter |
|---|
convertInbound, convertOutbound, getConverterManager, getInclusions, getInstanceType, getJavascript, getJavascriptSuperClass, setConstructor, setConverterManager, setExclude, setImplementation, setInclude, setInstanceType, setJavascript, setJavascriptSuperClass |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionConverter()
| Method Detail |
|---|
public java.util.Map<java.lang.String,Property> getPropertyMapFromClass(java.lang.Class<?> type,
boolean readRequired,
boolean writeRequired)
throws ConversionException
NamedConverterProperty.
HibernateBeanConverter (and maybe others) may want to provide alternate versions of bean.getClass(), and we may wish to fake or hide properties in some cases.
If you have a real object to investigate then it is probably better
to call NamedConverter.getPropertyMapFromObject(Object, boolean, boolean)
because that version can take into account extra runtime type info.
getPropertyMapFromClass in interface NamedConvertergetPropertyMapFromClass in class BeanConvertertype - The class to find bean info fromreadRequired - The properties returned must be readablewriteRequired - The properties returned must be writable
ConversionException - If the introspection failsNamedConverter.getPropertyMapFromObject(Object, boolean, boolean)
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||