public interface ErrorBuilder<T> extends RecordBuilder<T>
Modifier and Type | Method and Description |
---|---|
ErrorBuilder<T> |
clearCause()
Clears the cause
|
ErrorBuilder<T> |
clearValue()
Clears the value
|
Throwable |
getCause()
Gets the error cause
|
Object |
getValue()
Gets the value
|
boolean |
hasCause()
Checks whether the cause has been set
|
boolean |
hasValue()
Checks whether the value has been set
|
ErrorBuilder<T> |
setCause(Throwable cause)
Sets the error cause
|
ErrorBuilder<T> |
setValue(Object value)
Sets the value
|
build
Object getValue()
ErrorBuilder<T> setValue(Object value)
boolean hasValue()
ErrorBuilder<T> clearValue()
Throwable getCause()
ErrorBuilder<T> setCause(Throwable cause)
boolean hasCause()
ErrorBuilder<T> clearCause()
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.