Class FailedInstructionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
xyz.gmitch215.socketmc.instruction.FailedInstructionException
- All Implemented Interfaces:
Serializable
Thrown when a SocketMC instruction fails to execute.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new FailedInstructionException with no message.FailedInstructionException
(String message) Constructs a new FailedInstructionException with the specified message.FailedInstructionException
(String message, Throwable cause) Constructs a new FailedInstructionException with the specified message and cause.Constructs a new FailedInstructionException with the specified 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
-
FailedInstructionException
public FailedInstructionException()Constructs a new FailedInstructionException with no message. -
FailedInstructionException
Constructs a new FailedInstructionException with the specified message.- Parameters:
message
- The message
-
FailedInstructionException
Constructs a new FailedInstructionException with the specified message and cause.- Parameters:
message
- The messagecause
- The cause
-
FailedInstructionException
Constructs a new FailedInstructionException with the specified cause.- Parameters:
cause
- The cause
-