org.red5.server.exception
Class ClientDetailsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.red5.server.exception.ClientDetailsException
All Implemented Interfaces:
Serializable

public class ClientDetailsException
extends RuntimeException

Exception class than contains additional parameters to return to the client.

Author:
The Red5 Project ([email protected]), Joachim Bauch ([email protected])
See Also:
Serialized Form

Constructor Summary
ClientDetailsException(String message, Object params)
          Create new exception object from message and parameters.
ClientDetailsException(String message, Object params, boolean includeStacktrace)
          Create new exception object from message and parameters with optional stacktrace.
 
Method Summary
 Object getParameters()
          Get parameters to return to the client.
 boolean includeStacktrace()
          Should the stacktrace returned to the client?
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientDetailsException

public ClientDetailsException(String message,
                              Object params)
Create new exception object from message and parameters. By default, no stacktrace is returned to the client.

Parameters:
message - message
params - parameters for message

ClientDetailsException

public ClientDetailsException(String message,
                              Object params,
                              boolean includeStacktrace)
Create new exception object from message and parameters with optional stacktrace.

Parameters:
message - message
params - parameters
includeStacktrace - whether or not to include a stack trace
Method Detail

getParameters

public Object getParameters()
Get parameters to return to the client.

Returns:
parameters

includeStacktrace

public boolean includeStacktrace()
Should the stacktrace returned to the client?

Returns:
stacktrace


Copyright © 2006-2012 The Red5 Project