org.apache.hadoop.hbase.thrift.generated
Class IllegalArgument

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.hadoop.hbase.thrift.generated.IllegalArgument
All Implemented Interfaces:
Serializable, Cloneable, Comparable<IllegalArgument>, org.apache.thrift.TBase<IllegalArgument._Fields>

public class IllegalArgument
extends Exception
implements org.apache.thrift.TBase<IllegalArgument._Fields>, Serializable, Cloneable, Comparable<IllegalArgument>

An IllegalArgument exception indicates an illegal or invalid argument was passed into a procedure.

See Also:
Serialized Form

Nested Class Summary
static class IllegalArgument._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String message
           
static Map<IllegalArgument._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
IllegalArgument()
           
IllegalArgument(IllegalArgument other)
          Performs a deep copy on other.
IllegalArgument(String message)
           
 
Method Summary
 IllegalArgument clone()
          Deprecated. 
 int compareTo(IllegalArgument other)
           
 IllegalArgument deepCopy()
           
 boolean equals(IllegalArgument that)
           
 boolean equals(Object that)
           
 Object getFieldValue(IllegalArgument._Fields field)
           
 Object getFieldValue(int fieldId)
           
 String getMessage()
           
 int hashCode()
           
 boolean isSet(IllegalArgument._Fields field)
          Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
 boolean isSet(int fieldID)
           
 boolean isSetMessage()
          Returns true if field message is set (has been asigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(IllegalArgument._Fields field, Object value)
           
 void setFieldValue(int fieldID, Object value)
           
 IllegalArgument setMessage(String message)
           
 void setMessageIsSet(boolean value)
           
 String toString()
           
 void unsetMessage()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

message

public String message

metaDataMap

public static final Map<IllegalArgument._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

IllegalArgument

public IllegalArgument()

IllegalArgument

public IllegalArgument(String message)

IllegalArgument

public IllegalArgument(IllegalArgument other)
Performs a deep copy on other.

Method Detail

deepCopy

public IllegalArgument deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<IllegalArgument._Fields>

clone

@Deprecated
public IllegalArgument clone()
Deprecated. 

Overrides:
clone in class Object

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

setMessage

public IllegalArgument 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(IllegalArgument._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<IllegalArgument._Fields>

setFieldValue

public void setFieldValue(int fieldID,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<IllegalArgument._Fields>

getFieldValue

public Object getFieldValue(IllegalArgument._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<IllegalArgument._Fields>

getFieldValue

public Object getFieldValue(int fieldId)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<IllegalArgument._Fields>

isSet

public boolean isSet(IllegalArgument._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<IllegalArgument._Fields>

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase<IllegalArgument._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(IllegalArgument that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(IllegalArgument other)
Specified by:
compareTo in interface Comparable<IllegalArgument>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<IllegalArgument._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<IllegalArgument._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.