org.apache.hadoop.hive.service
Class HiveServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hadoop.hive.service.HiveServerException
- All Implemented Interfaces:
- Serializable, Cloneable, org.apache.thrift.TBase
public class HiveServerException
- extends Exception
- implements org.apache.thrift.TBase, Serializable, Cloneable
- See Also:
- Serialized Form
MESSAGE
public static final int MESSAGE
- See Also:
- Constant Field Values
ERRORCODE
public static final int ERRORCODE
- See Also:
- Constant Field Values
SQLSTATE
public static final int SQLSTATE
- See Also:
- Constant Field Values
metaDataMap
public static final Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
HiveServerException
public HiveServerException()
HiveServerException
public HiveServerException(String message,
int errorCode,
String SQLState)
HiveServerException
public HiveServerException(HiveServerException other)
- Performs a deep copy on other.
clone
public HiveServerException clone()
- Overrides:
clone
in class Object
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
setMessage
public void setMessage(String message)
unsetMessage
public void unsetMessage()
isSetMessage
public boolean isSetMessage()
getErrorCode
public int getErrorCode()
setErrorCode
public void setErrorCode(int errorCode)
unsetErrorCode
public void unsetErrorCode()
isSetErrorCode
public boolean isSetErrorCode()
getSQLState
public String getSQLState()
setSQLState
public void setSQLState(String SQLState)
unsetSQLState
public void unsetSQLState()
isSetSQLState
public boolean isSetSQLState()
setFieldValue
public void setFieldValue(int fieldID,
Object value)
- Specified by:
setFieldValue
in interface org.apache.thrift.TBase
getFieldValue
public Object getFieldValue(int fieldID)
- Specified by:
getFieldValue
in interface org.apache.thrift.TBase
isSet
public boolean isSet(int fieldID)
- Specified by:
isSet
in interface org.apache.thrift.TBase
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(HiveServerException that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
read
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
- Specified by:
read
in interface org.apache.thrift.TBase
- Throws:
org.apache.thrift.TException
write
public void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
write
in interface org.apache.thrift.TBase
- Throws:
org.apache.thrift.TException
toString
public String toString()
- Overrides:
toString
in class Throwable
validate
public void validate()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
Copyright © 2010 The Apache Software Foundation