com.google.bitcoin.protocols.channels
Class PaymentChannelCloseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.bitcoin.protocols.channels.PaymentChannelCloseException
- All Implemented Interfaces:
- Serializable
public class PaymentChannelCloseException
- extends Exception
Used to indicate that a channel was closed before it was expected to be closed.
This could mean the connection timed out, the other send sent an error or a CLOSE message, etc
- See Also:
- Serialized Form
PaymentChannelCloseException
public PaymentChannelCloseException(String message,
PaymentChannelCloseException.CloseReason error)
getCloseReason
public PaymentChannelCloseException.CloseReason getCloseReason()
toString
public String toString()
- Overrides:
toString in class Throwable
Copyright © 2014. All rights reserved.