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
public class ClientRejectedException
- extends RuntimeException
The client is not allowed to connect. Reason that provided with this
exception is sent to client-side status event description.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ClientRejectedException
public ClientRejectedException()
- Constructs a new ClientRejectedException.
ClientRejectedException
public ClientRejectedException(Object reason)
- Create new exception with given rejection reason
- Parameters:
reason
- Rejection reason
getReason
public Object getReason()
- Getter for reason
- Returns:
- Rejection reason
Copyright © 2006-2012 The Red5 Project