|
|||||||||
| 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 on an object 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: A description of the object that was not found on the server. For example, "Note.notebookGuid" when a caller attempts to create a note in a notebook that does not exist in the user's account. key: The value passed from the client in the identifier, which was not found. For example, the GUID that was not found.
| Constructor Summary | |
|---|---|
EDAMNotFoundException()
|
|
EDAMNotFoundException(EDAMNotFoundException other)
Performs a deep copy on other. |
|
| Method Summary | |
|---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(EDAMNotFoundException other)
|
EDAMNotFoundException |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(EDAMNotFoundException that)
|
boolean |
equals(Object that)
|
String |
getIdentifier()
|
String |
getKey()
|
int |
hashCode()
|
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(TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setIdentifier(String identifier)
|
void |
setIdentifierIsSet(boolean value)
|
void |
setKey(String key)
|
void |
setKeyIsSet(boolean value)
|
String |
toString()
|
void |
unsetIdentifier()
|
void |
unsetKey()
|
void |
validate()
|
void |
write(TProtocol oprot)
Writes the object to the given protocol. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EDAMNotFoundException()
public EDAMNotFoundException(EDAMNotFoundException other)
| Method Detail |
|---|
public EDAMNotFoundException deepCopy()
TBase
deepCopy in interface TBase<EDAMNotFoundException>public void clear()
TBase
clear in interface TBase<EDAMNotFoundException>public String getIdentifier()
public void setIdentifier(String identifier)
public void unsetIdentifier()
public boolean isSetIdentifier()
public void setIdentifierIsSet(boolean value)
public String getKey()
public void setKey(String key)
public void unsetKey()
public boolean isSetKey()
public void setKeyIsSet(boolean value)
public boolean equals(Object that)
equals in class Objectpublic boolean equals(EDAMNotFoundException that)
public int hashCode()
hashCode in class Objectpublic int compareTo(EDAMNotFoundException other)
compareTo in interface Comparable<EDAMNotFoundException>
public void read(TProtocol iprot)
throws TException
TBase
read in interface TBase<EDAMNotFoundException>iprot - Input protocol
TException
public void write(TProtocol oprot)
throws TException
TBase
write in interface TBase<EDAMNotFoundException>oprot - Output protocol
TExceptionpublic 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 | ||||||||