Package org.voltdb

Class VoltProcedure.VoltAbortException

All Implemented Interfaces:
Serializable
Enclosing class:
VoltProcedure

public static class VoltProcedure.VoltAbortException extends RuntimeException
Thrown from a stored procedure to indicate to VoltDB that the procedure should be aborted and rolled back.
See Also:
  • Constructor Details

    • VoltAbortException

      public VoltAbortException()
      Constructs a new AbortException
    • VoltAbortException

      public VoltAbortException(Throwable t)
      Constructs a new AbortException from an existing Throwable.
      Parameters:
      t - Throwable to embed.
    • VoltAbortException

      public VoltAbortException(String msg)
      Constructs a new AbortException with the specified detail message.
      Parameters:
      msg - Exception specific message.
  • Method Details

    • getMessage

      public String getMessage()
      Returns the detail message string of this AbortException
      Overrides:
      getMessage in class Throwable
      Returns:
      The detail message.
    • getClientResponseStatus

      public byte getClientResponseStatus()
    • getShortStatusString

      public String getShortStatusString()