java.lang.Object
java.lang.Throwable
java.lang.Exception
io.mokamint.node.MisbehavingNodeException
- All Implemented Interfaces:
Serializable
An exception stating that a node is misbehaving, that is, performing in a buggy way.
If the node is a local node, then this is an actual bug in its code. If, instead,
the node is a remote node, then it might just be a byzantine node.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception.MisbehavingNodeException(String message) Creates a new exception with the given message.MisbehavingNodeException(String message, Throwable cause) Creates a new exception with the given message and cause.Creates a new exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MisbehavingNodeException
public MisbehavingNodeException()Creates a new exception. -
MisbehavingNodeException
Creates a new exception with the given message.- Parameters:
message- the message
-
MisbehavingNodeException
Creates a new exception with the given cause.- Parameters:
cause- the cause
-
MisbehavingNodeException
Creates a new exception with the given message and cause.- Parameters:
message- the messagecause- the cause
-