public class PeerClosedConnectionException extends java.lang.RuntimeException implements PeerClosedConnectionException
closeCode
and closeReason
contain close messages as reported by the peer.Constructor and Description |
---|
PeerClosedConnectionException(int closeCode,
java.lang.String closeReason) |
Modifier and Type | Method and Description |
---|---|
int |
closeCode() |
java.lang.String |
closeReason() |
public PeerClosedConnectionException(int closeCode, java.lang.String closeReason)
public int closeCode()
closeCode
in interface PeerClosedConnectionException
public java.lang.String closeReason()
closeReason
in interface PeerClosedConnectionException