Interface ErrorBuilder<T>

All Superinterfaces:
RecordBuilder<T>
All Known Implementing Classes:
SpecificErrorBuilderBase

public interface ErrorBuilder<T> extends RecordBuilder<T>
Interface for error builders
  • Method Details

    • getValue

      Object getValue()
      Gets the value
    • setValue

      ErrorBuilder<T> setValue(Object value)
      Sets the value
    • hasValue

      boolean hasValue()
      Checks whether the value has been set
    • clearValue

      ErrorBuilder<T> clearValue()
      Clears the value
    • getCause

      Throwable getCause()
      Gets the error cause
    • setCause

      ErrorBuilder<T> setCause(Throwable cause)
      Sets the error cause
    • hasCause

      boolean hasCause()
      Checks whether the cause has been set
    • clearCause

      ErrorBuilder<T> clearCause()
      Clears the cause