org.red5.server.exception
Class ClientRejectedException

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

Constructor Summary
ClientRejectedException()
          Constructs a new ClientRejectedException.
ClientRejectedException(Object reason)
          Create new exception with given rejection reason
 
Method Summary
 Object getReason()
          Getter for reason
 
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

ClientRejectedException

public ClientRejectedException()
Constructs a new ClientRejectedException.


ClientRejectedException

public ClientRejectedException(Object reason)
Create new exception with given rejection reason

Parameters:
reason - Rejection reason
Method Detail

getReason

public Object getReason()
Getter for reason

Returns:
Rejection reason


Copyright © 2006-2012 The Red5 Project