Class PeerClosedConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.pekko.http.scaladsl.model.ws.PeerClosedConnectionException
- All Implemented Interfaces:
- Serializable,- PeerClosedConnectionException
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 SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
PeerClosedConnectionException
 
- 
- 
Method Details- 
closeCodepublic int closeCode()- Specified by:
- closeCodein interface- PeerClosedConnectionException
 
- 
closeReason- Specified by:
- closeReasonin interface- PeerClosedConnectionException
 
 
-