Package org.eclipse.jetty.websocket.api
Class CloseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.jetty.websocket.api.WebSocketException
-
- org.eclipse.jetty.websocket.api.CloseException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BadPayloadException
,MessageTooLargeException
,PolicyViolationException
,ProtocolException
@Deprecated(since="2021-05-27") public class CloseException extends WebSocketException
Deprecated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloseException(int closeCode, java.lang.String message)
Deprecated.CloseException(int closeCode, java.lang.String message, java.lang.Throwable cause)
Deprecated.CloseException(int closeCode, java.lang.Throwable cause)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getStatusCode()
Deprecated.
-
-
-
Constructor Detail
-
CloseException
public CloseException(int closeCode, java.lang.String message)
Deprecated.
-
CloseException
public CloseException(int closeCode, java.lang.String message, java.lang.Throwable cause)
Deprecated.
-
CloseException
public CloseException(int closeCode, java.lang.Throwable cause)
Deprecated.
-
-