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:
  • Field Details

  • Constructor Details

    • ClientRejectedException

      public ClientRejectedException()
      Constructs a new ClientRejectedException.
    • ClientRejectedException

      public ClientRejectedException(Object reason)
      Create new exception with given rejection reason
      Parameters:
      reason - Rejection reason
  • Method Details

    • getReason

      public Object getReason()
      Getter for reason
      Returns:
      Rejection reason