public static class JThrowable.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<JThrowable> implements org.apache.avro.data.RecordBuilder<JThrowable>
Modifier and Type | Method and Description |
---|---|
JThrowable |
build() |
JThrowable.Builder |
clearCause()
Clears the value of the 'cause' field.
|
JThrowable.Builder |
clearClassName()
Clears the value of the 'className' field.
|
JThrowable.Builder |
clearMessage()
Clears the value of the 'message' field.
|
JThrowable.Builder |
clearStackTrace()
Clears the value of the 'stackTrace' field.
|
JThrowable.Builder |
clearSuppressed()
Clears the value of the 'suppressed' field.
|
JThrowable |
getCause()
Gets the value of the 'cause' field.
|
JThrowable.Builder |
getCauseBuilder()
Gets the Builder instance for the 'cause' field and creates one if it doesn't exist yet.
|
String |
getClassName()
Gets the value of the 'className' field.
|
String |
getMessage()
Gets the value of the 'message' field.
|
List<JStackTraceElement> |
getStackTrace()
Gets the value of the 'stackTrace' field.
|
List<JThrowable> |
getSuppressed()
Gets the value of the 'suppressed' field.
|
boolean |
hasCause()
Checks whether the 'cause' field has been set.
|
boolean |
hasCauseBuilder()
Checks whether the 'cause' field has an active Builder instance
exception cause
|
boolean |
hasClassName()
Checks whether the 'className' field has been set.
|
boolean |
hasMessage()
Checks whether the 'message' field has been set.
|
boolean |
hasStackTrace()
Checks whether the 'stackTrace' field has been set.
|
boolean |
hasSuppressed()
Checks whether the 'suppressed' field has been set.
|
JThrowable.Builder |
setCause(JThrowable value)
Sets the value of the 'cause' field.
|
JThrowable.Builder |
setCauseBuilder(JThrowable.Builder value)
Sets the Builder instance for the 'cause' field
exception cause
|
JThrowable.Builder |
setClassName(String value)
Sets the value of the 'className' field.
|
JThrowable.Builder |
setMessage(String value)
Sets the value of the 'message' field.
|
JThrowable.Builder |
setStackTrace(List<JStackTraceElement> value)
Sets the value of the 'stackTrace' field.
|
JThrowable.Builder |
setSuppressed(List<JThrowable> value)
Sets the value of the 'suppressed' field.
|
public String getClassName()
public JThrowable.Builder setClassName(String value)
value
- The value of 'className'.public boolean hasClassName()
public JThrowable.Builder clearClassName()
public String getMessage()
public JThrowable.Builder setMessage(String value)
value
- The value of 'message'.public boolean hasMessage()
public JThrowable.Builder clearMessage()
public List<JStackTraceElement> getStackTrace()
public JThrowable.Builder setStackTrace(List<JStackTraceElement> value)
value
- The value of 'stackTrace'.public boolean hasStackTrace()
public JThrowable.Builder clearStackTrace()
public JThrowable getCause()
public JThrowable.Builder setCause(JThrowable value)
value
- The value of 'cause'.public boolean hasCause()
public JThrowable.Builder getCauseBuilder()
public JThrowable.Builder setCauseBuilder(JThrowable.Builder value)
value
- The builder instance that must be set.public boolean hasCauseBuilder()
public JThrowable.Builder clearCause()
public List<JThrowable> getSuppressed()
public JThrowable.Builder setSuppressed(List<JThrowable> value)
value
- The value of 'suppressed'.public boolean hasSuppressed()
public JThrowable.Builder clearSuppressed()
public JThrowable build()
build
in interface org.apache.avro.data.RecordBuilder<JThrowable>
Copyright © 2018 SPF4J. All rights reserved.