Package net.corda.data
Class ExceptionEnvelope.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class ExceptionEnvelope.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for ExceptionEnvelope instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
errorType
public String
errorMessage
-
Method Summary
Modifier and Type Method Description String
getErrorType()
Gets the value of the 'errorType' field. ExceptionEnvelope.Builder
setErrorType(String value)
Sets the value of the 'errorType' field. String
getErrorMessage()
Gets the value of the 'errorMessage' field. ExceptionEnvelope.Builder
setErrorMessage(String value)
Sets the value of the 'errorMessage' field. boolean
hasErrorType()
Checks whether the 'errorType' field has been set. ExceptionEnvelope.Builder
clearErrorType()
Clears the value of the 'errorType' field. boolean
hasErrorMessage()
Checks whether the 'errorMessage' field has been set. ExceptionEnvelope.Builder
clearErrorMessage()
Clears the value of the 'errorMessage' field. ExceptionEnvelope
build()
-
-
Method Detail
-
getErrorType
String getErrorType()
Gets the value of the 'errorType' field. Error type in string format
-
setErrorType
ExceptionEnvelope.Builder setErrorType(String value)
Sets the value of the 'errorType' field. Error type in string format
- Parameters:
value
- The value of 'errorType'.
-
getErrorMessage
String getErrorMessage()
Gets the value of the 'errorMessage' field. The error message
-
setErrorMessage
ExceptionEnvelope.Builder setErrorMessage(String value)
Sets the value of the 'errorMessage' field. The error message
- Parameters:
value
- The value of 'errorMessage'.
-
hasErrorType
boolean hasErrorType()
Checks whether the 'errorType' field has been set. Error type in string format
-
clearErrorType
ExceptionEnvelope.Builder clearErrorType()
Clears the value of the 'errorType' field. Error type in string format
-
hasErrorMessage
boolean hasErrorMessage()
Checks whether the 'errorMessage' field has been set. The error message
-
clearErrorMessage
ExceptionEnvelope.Builder clearErrorMessage()
Clears the value of the 'errorMessage' field. The error message
-
build
ExceptionEnvelope build()
-
-
-
-