Package org.red5.server.exception
Class ClientDetailsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.red5.server.exception.ClientDetailsException
- All Implemented Interfaces:
Serializable
Exception class than contains additional parameters to return to the client.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate Object
Parameters to return to the client.private static final long
private boolean
Also return stacktrace to client? -
Constructor Summary
ConstructorDescriptionClientDetailsException
(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
Modifier and TypeMethodDescriptionGet parameters to return to the client.boolean
Should the stacktrace returned to the client?Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
parameters
Parameters to return to the client. -
stacktrace
private boolean stacktraceAlso return stacktrace to client?
-
-
Constructor Details
-
ClientDetailsException
Create new exception object from message and parameters. By default, no stacktrace is returned to the client.- Parameters:
message
- messageparams
- parameters for message
-
ClientDetailsException
Create new exception object from message and parameters with optional stacktrace.- Parameters:
message
- messageparams
- parametersincludeStacktrace
- whether or not to include a stack trace
-
-
Method Details
-
getParameters
Get parameters to return to the client.- Returns:
- parameters
-
includeStacktrace
public boolean includeStacktrace()Should the stacktrace returned to the client?- Returns:
- stacktrace
-