Package net.corda.data.flow.event
Class WakeUpWithException.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class WakeUpWithException.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for WakeUpWithException instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ExceptionEnvelope
error
public ExceptionEnvelope.Builder
errorBuilder
-
Method Summary
Modifier and Type Method Description ExceptionEnvelope
getError()
Gets the value of the 'error' field. WakeUpWithException.Builder
setError(ExceptionEnvelope value)
Sets the value of the 'error' field. ExceptionEnvelope.Builder
getErrorBuilder()
Gets the Builder instance for the 'error' field and creates one if it doesn't exist yet. WakeUpWithException.Builder
setErrorBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'error' field The error to be thrown back to the user code boolean
hasError()
Checks whether the 'error' field has been set. boolean
hasErrorBuilder()
Checks whether the 'error' field has an active Builder instance The error to be thrown back to the user code WakeUpWithException.Builder
clearError()
Clears the value of the 'error' field. WakeUpWithException
build()
-
-
Method Detail
-
getError
ExceptionEnvelope getError()
Gets the value of the 'error' field. The error to be thrown back to the user code
-
setError
WakeUpWithException.Builder setError(ExceptionEnvelope value)
Sets the value of the 'error' field. The error to be thrown back to the user code
- Parameters:
value
- The value of 'error'.
-
getErrorBuilder
ExceptionEnvelope.Builder getErrorBuilder()
Gets the Builder instance for the 'error' field and creates one if it doesn't exist yet. The error to be thrown back to the user code
-
setErrorBuilder
WakeUpWithException.Builder setErrorBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'error' field The error to be thrown back to the user code
- Parameters:
value
- The builder instance that must be set.
-
hasError
boolean hasError()
Checks whether the 'error' field has been set. The error to be thrown back to the user code
-
hasErrorBuilder
boolean hasErrorBuilder()
Checks whether the 'error' field has an active Builder instance The error to be thrown back to the user code
-
clearError
WakeUpWithException.Builder clearError()
Clears the value of the 'error' field. The error to be thrown back to the user code
-
build
WakeUpWithException build()
-
-
-
-