Package org.red5.server.exception
Class ClientRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.red5.server.exception.ClientRejectedException
- All Implemented Interfaces:
Serializable
The client is not allowed to connect. Reason that provided with this exception is sent to client-side status event description.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs a new ClientRejectedException.ClientRejectedException
(Object reason) Create new exception with given rejection reason -
Method Summary
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:
-
reason
-
-
Constructor Details
-
ClientRejectedException
public ClientRejectedException()Constructs a new ClientRejectedException. -
ClientRejectedException
Create new exception with given rejection reason- Parameters:
reason
- Rejection reason
-
-
Method Details
-
getReason
Getter for reason- Returns:
- Rejection reason
-