Package org.bitcoinj.core
Class RejectedTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bitcoinj.core.RejectedTransactionException
- All Implemented Interfaces:
Serializable
This exception is used by the TransactionBroadcast class to indicate that a broadcast
Transaction has been rejected by the network, for example because it violates a
protocol rule. Note that not all invalid transactions generate a reject message, and
some peers may never do so.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the RejectMessage object representing the broadcast rejection.Return the original Transaction object whose broadcast was rejected.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RejectedTransactionException
-
-
Method Details
-
getTransaction
Return the original Transaction object whose broadcast was rejected. -
getRejectMessage
Return the RejectMessage object representing the broadcast rejection.
-