Package org.apache.pinot.common.response
Class ProcessingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- org.apache.pinot.common.response.ProcessingException
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ProcessingException>,org.apache.thrift.TBase<ProcessingException,ProcessingException._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.15.0)", date="2022-03-28") public class ProcessingException extends org.apache.thrift.TException implements org.apache.thrift.TBase<ProcessingException,ProcessingException._Fields>, Serializable, Cloneable, Comparable<ProcessingException>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessingException._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<ProcessingException._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description ProcessingException()ProcessingException(int errorCode)ProcessingException(ProcessingException other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(ProcessingException other)ProcessingExceptiondeepCopy()booleanequals(Object that)booleanequals(ProcessingException that)ProcessingException._FieldsfieldForId(int fieldId)intgetErrorCode()ObjectgetFieldValue(ProcessingException._Fields field)StringgetMessage()inthashCode()booleanisSet(ProcessingException._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetErrorCode()Returns true if field errorCode is set (has been assigned a value) and false otherwisebooleanisSetMessage()Returns true if field message is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetErrorCode(int errorCode)voidsetErrorCodeIsSet(boolean value)voidsetFieldValue(ProcessingException._Fields field, Object value)voidsetMessage(String message)voidsetMessageIsSet(boolean value)StringtoString()voidunsetErrorCode()voidunsetMessage()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
metaDataMap
public static final Map<ProcessingException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ProcessingException
public ProcessingException()
-
ProcessingException
public ProcessingException(int errorCode)
-
ProcessingException
public ProcessingException(ProcessingException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ProcessingException deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ProcessingException,ProcessingException._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<ProcessingException,ProcessingException._Fields>
-
getErrorCode
public int getErrorCode()
-
setErrorCode
public void setErrorCode(int errorCode)
-
unsetErrorCode
public void unsetErrorCode()
-
isSetErrorCode
public boolean isSetErrorCode()
Returns true if field errorCode is set (has been assigned a value) and false otherwise
-
setErrorCodeIsSet
public void setErrorCodeIsSet(boolean value)
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
setMessage
public void setMessage(String message)
-
unsetMessage
public void unsetMessage()
-
isSetMessage
public boolean isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
-
setMessageIsSet
public void setMessageIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ProcessingException._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ProcessingException,ProcessingException._Fields>
-
getFieldValue
public Object getFieldValue(ProcessingException._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ProcessingException,ProcessingException._Fields>
-
isSet
public boolean isSet(ProcessingException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ProcessingException,ProcessingException._Fields>
-
equals
public boolean equals(ProcessingException that)
-
compareTo
public int compareTo(ProcessingException other)
- Specified by:
compareToin interfaceComparable<ProcessingException>
-
fieldForId
public ProcessingException._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ProcessingException,ProcessingException._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-