org.directwebremoting.io
Class DwrConvertedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.directwebremoting.io.DwrConvertedException
- All Implemented Interfaces:
- java.io.Serializable
public class DwrConvertedException
- extends java.lang.RuntimeException
DwrConvertedException are automatically exported by DWR along with the
message and (optionally) a map of data. It is the developers job to ensure
that all the objects in the data map are marked for conversion.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
- See Also:
- Serialized Form
|
Method Summary |
java.util.Map<?,?> |
getData()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DwrConvertedException
public DwrConvertedException(java.lang.String message)
- Parameters:
message - The message to pass to the exceptionHandler in JavaScript
DwrConvertedException
public DwrConvertedException(java.lang.String message,
java.util.Map<?,?> data)
- Parameters:
message - The message to pass to the exceptionHandler in JavaScript
getData
public java.util.Map<?,?> getData()
- Returns:
- the data