Package akka.http.scaladsl.model.ws
Class PeerClosedConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
akka.http.scaladsl.model.ws.PeerClosedConnectionException
- All Implemented Interfaces:
PeerClosedConnectionException
,Serializable
public class PeerClosedConnectionException
extends RuntimeException
implements PeerClosedConnectionException
A PeerClosedConnectionException will be reported to the WebSocket handler if the peer has closed the connection.
closeCode
and closeReason
contain close messages as reported by the peer.- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PeerClosedConnectionException
-
-
Method Details
-
closeCode
public int closeCode()- Specified by:
closeCode
in interfacePeerClosedConnectionException
-
closeReason
- Specified by:
closeReason
in interfacePeerClosedConnectionException
-