|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.blur.thirdparty.thrift_0_9_0.TException
org.apache.blur.thrift.generated.BlurException
public class BlurException
BlurException that carries a message plus the original stack trace (if any).
Nested Class Summary | |
---|---|
static class |
BlurException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
ErrorType |
errorType
|
String |
message
The message in the exception. |
static Map<BlurException._Fields,FieldMetaData> |
metaDataMap
|
String |
stackTraceStr
The original stack trace (if any). |
Constructor Summary | |
---|---|
BlurException()
|
|
BlurException(BlurException other)
Performs a deep copy on other. |
|
BlurException(String message,
String stackTraceStr,
ErrorType errorType)
|
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(BlurException other)
|
BlurException |
deepCopy()
|
boolean |
equals(BlurException that)
|
boolean |
equals(Object that)
|
BlurException._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
ErrorType |
getErrorType()
|
Object |
getFieldValue(BlurException._Fields field)
Get a field's value by field variable. |
String |
getMessage()
The message in the exception. |
String |
getStackTraceStr()
The original stack trace (if any). |
int |
hashCode()
|
boolean |
isSet(BlurException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetErrorType()
Returns true if field errorType is set (has been assigned a value) and false otherwise |
boolean |
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise |
boolean |
isSetStackTraceStr()
Returns true if field stackTraceStr is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
BlurException |
setErrorType(ErrorType errorType)
|
void |
setErrorTypeIsSet(boolean value)
|
void |
setFieldValue(BlurException._Fields field,
Object value)
Set a field's value by field variable. |
BlurException |
setMessage(String message)
The message in the exception. |
void |
setMessageIsSet(boolean value)
|
BlurException |
setStackTraceStr(String stackTraceStr)
The original stack trace (if any). |
void |
setStackTraceStrIsSet(boolean value)
|
String |
toString()
|
void |
unsetErrorType()
|
void |
unsetMessage()
|
void |
unsetStackTraceStr()
|
void |
validate()
|
void |
write(TProtocol oprot)
Writes the objects out to the protocol |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String message
public String stackTraceStr
public ErrorType errorType
ErrorType
public static final Map<BlurException._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public BlurException()
public BlurException(String message, String stackTraceStr, ErrorType errorType)
public BlurException(BlurException other)
Method Detail |
---|
public BlurException deepCopy()
deepCopy
in interface TBase<BlurException,BlurException._Fields>
public void clear()
TBase
clear
in interface TBase<BlurException,BlurException._Fields>
public String getMessage()
getMessage
in class Throwable
public BlurException setMessage(String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public String getStackTraceStr()
public BlurException setStackTraceStr(String stackTraceStr)
public void unsetStackTraceStr()
public boolean isSetStackTraceStr()
public void setStackTraceStrIsSet(boolean value)
public ErrorType getErrorType()
ErrorType
public BlurException setErrorType(ErrorType errorType)
ErrorType
public void unsetErrorType()
public boolean isSetErrorType()
public void setErrorTypeIsSet(boolean value)
public void setFieldValue(BlurException._Fields field, Object value)
TBase
setFieldValue
in interface TBase<BlurException,BlurException._Fields>
public Object getFieldValue(BlurException._Fields field)
TBase
getFieldValue
in interface TBase<BlurException,BlurException._Fields>
public boolean isSet(BlurException._Fields field)
isSet
in interface TBase<BlurException,BlurException._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(BlurException that)
public int hashCode()
hashCode
in class Object
public int compareTo(BlurException other)
compareTo
in interface Comparable<BlurException>
public BlurException._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<BlurException,BlurException._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<BlurException,BlurException._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<BlurException,BlurException._Fields>
oprot
- Output protocol
TException
public String toString()
toString
in class Throwable
public void validate() throws TException
TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |