Class RollbackValue<T extends ACell>

Type Parameters:
T - Type of return value

public class RollbackValue<T extends ACell> extends AReturn
Class representing a function return value "Computers are useless. They can only give you answers." - Pablo Picasso
  • Constructor Details

    • RollbackValue

      public RollbackValue(T value)
  • Method Details

    • wrap

      public static <T extends ACell> RollbackValue<T> wrap(T value)
    • getValue

      public T getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCode

      public ACell getCode()
      Description copied from class: AExceptional
      Returns the Exception code for this exceptional value
      Specified by:
      getCode in class AExceptional
      Returns:
      Exception Code
    • getMessage

      public ACell getMessage()
      Description copied from class: AExceptional
      Gets the message for an exceptional value. May or may not be meaningful.
      Specified by:
      getMessage in class AExceptional
      Returns:
      Exception Message