org.apache.hadoop.hbase.thrift.generated
Class IOError
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hadoop.hbase.thrift.generated.IOError
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<IOError>, org.apache.thrift.TBase<IOError._Fields>
public class IOError
- extends Exception
- implements org.apache.thrift.TBase<IOError._Fields>, Serializable, Cloneable, Comparable<IOError>
An IOError exception signals that an error occurred communicating
to the Hbase master or an Hbase region server. Also used to return
more general Hbase error conditions.
- See Also:
- Serialized Form
Nested Class Summary |
static class |
IOError._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
message
public String message
metaDataMap
public static final Map<IOError._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
IOError
public IOError()
IOError
public IOError(String message)
IOError
public IOError(IOError other)
- Performs a deep copy on other.
deepCopy
public IOError deepCopy()
- Specified by:
deepCopy
in interface org.apache.thrift.TBase<IOError._Fields>
clone
@Deprecated
public IOError clone()
- Deprecated.
- Overrides:
clone
in class Object
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
setMessage
public IOError setMessage(String message)
unsetMessage
public void unsetMessage()
isSetMessage
public boolean isSetMessage()
- Returns true if field message is set (has been asigned a value) and false otherwise
setMessageIsSet
public void setMessageIsSet(boolean value)
setFieldValue
public void setFieldValue(IOError._Fields field,
Object value)
- Specified by:
setFieldValue
in interface org.apache.thrift.TBase<IOError._Fields>
setFieldValue
public void setFieldValue(int fieldID,
Object value)
- Specified by:
setFieldValue
in interface org.apache.thrift.TBase<IOError._Fields>
getFieldValue
public Object getFieldValue(IOError._Fields field)
- Specified by:
getFieldValue
in interface org.apache.thrift.TBase<IOError._Fields>
getFieldValue
public Object getFieldValue(int fieldId)
- Specified by:
getFieldValue
in interface org.apache.thrift.TBase<IOError._Fields>
isSet
public boolean isSet(IOError._Fields field)
- Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- Specified by:
isSet
in interface org.apache.thrift.TBase<IOError._Fields>
isSet
public boolean isSet(int fieldID)
- Specified by:
isSet
in interface org.apache.thrift.TBase<IOError._Fields>
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(IOError that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(IOError other)
- Specified by:
compareTo
in interface Comparable<IOError>
read
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
- Specified by:
read
in interface org.apache.thrift.TBase<IOError._Fields>
- 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<IOError._Fields>
- 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 © 2011 The Apache Software Foundation. All Rights Reserved.