Package org.voltdb
Class VoltProcedure.VoltAbortException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.voltdb.VoltProcedure.VoltAbortException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- VoltProcedure
Thrown from a stored procedure to indicate to VoltDB
that the procedure should be aborted and rolled back.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new AbortExceptionVoltAbortException(String msg) Constructs a new AbortException with the specified detail message.Constructs a new AbortException from an existingThrowable. -
Method Summary
Modifier and TypeMethodDescriptionbyteReturns the detail message string of thisAbortExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VoltAbortException
public VoltAbortException()Constructs a new AbortException -
VoltAbortException
Constructs a new AbortException from an existingThrowable.- Parameters:
t- Throwable to embed.
-
VoltAbortException
Constructs a new AbortException with the specified detail message.- Parameters:
msg- Exception specific message.
-
-
Method Details
-
getMessage
Returns the detail message string of thisAbortException- Overrides:
getMessagein classThrowable- Returns:
- The detail message.
-
getClientResponseStatus
public byte getClientResponseStatus() -
getShortStatusString
-