org.directwebremoting.io
Class DwrConvertedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
DwrConvertedException(java.lang.String message)
           
DwrConvertedException(java.lang.String message, java.util.Map<?,?> data)
           
 
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
 

Constructor Detail

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
Method Detail

getData

public java.util.Map<?,?> getData()
Returns:
the data

Copyright 2008