|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.evernote.edam.error.EDAMNotFoundException
public class EDAMNotFoundException
This exception is thrown by EDAM procedures when a caller asks to perform an operation that does not exist. This may be thrown based on an invalid primary identifier (e.g. a bad GUID), or when the caller refers to an object by another unique identifier (e.g. a User's email address). identifier: the object identifier that was not found on the server. key: the value passed from the client in the identifier, which was not found. E.g. the GUID of an object that was not found.
Nested Class Summary | |
---|---|
static class |
EDAMNotFoundException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<EDAMNotFoundException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
EDAMNotFoundException()
|
|
EDAMNotFoundException(EDAMNotFoundException other)
Performs a deep copy on other. |
Method Summary | |
---|---|
EDAMNotFoundException |
clone()
Deprecated. |
int |
compareTo(EDAMNotFoundException other)
|
EDAMNotFoundException |
deepCopy()
|
boolean |
equals(EDAMNotFoundException that)
|
boolean |
equals(java.lang.Object that)
|
java.lang.Object |
getFieldValue(EDAMNotFoundException._Fields field)
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.String |
getIdentifier()
|
java.lang.String |
getKey()
|
int |
hashCode()
|
boolean |
isSet(EDAMNotFoundException._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSet(int fieldID)
|
boolean |
isSetIdentifier()
Returns true if field identifier is set (has been asigned a value) and false otherwise |
boolean |
isSetKey()
Returns true if field key is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(EDAMNotFoundException._Fields field,
java.lang.Object value)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setIdentifier(java.lang.String identifier)
|
void |
setIdentifierIsSet(boolean value)
|
void |
setKey(java.lang.String key)
|
void |
setKeyIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetIdentifier()
|
void |
unsetKey()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.util.Map<EDAMNotFoundException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public EDAMNotFoundException()
public EDAMNotFoundException(EDAMNotFoundException other)
Method Detail |
---|
public EDAMNotFoundException deepCopy()
deepCopy
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
@Deprecated public EDAMNotFoundException clone()
clone
in class java.lang.Object
public java.lang.String getIdentifier()
public void setIdentifier(java.lang.String identifier)
public void unsetIdentifier()
public boolean isSetIdentifier()
public void setIdentifierIsSet(boolean value)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public void unsetKey()
public boolean isSetKey()
public void setKeyIsSet(boolean value)
public void setFieldValue(EDAMNotFoundException._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
public java.lang.Object getFieldValue(EDAMNotFoundException._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
public boolean isSet(EDAMNotFoundException._Fields field)
isSet
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(EDAMNotFoundException that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(EDAMNotFoundException other)
compareTo
in interface java.lang.Comparable<EDAMNotFoundException>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<EDAMNotFoundException._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Throwable
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |