com.evernote.edam.error
Class EDAMNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.evernote.edam.error.EDAMNotFoundException
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class EDAMNotFoundException
extends java.lang.Exception
implements java.io.Serializable, java.lang.Cloneable

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.

See Also:
Serialized Form

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,FieldMetaData> metaDataMap
           
 
Constructor Summary
EDAMNotFoundException()
           
EDAMNotFoundException(EDAMNotFoundException other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(EDAMNotFoundException other)
           
 EDAMNotFoundException deepCopy()
           
 boolean equals(EDAMNotFoundException that)
           
 boolean equals(java.lang.Object that)
           
 EDAMNotFoundException._Fields fieldForId(int fieldId)
           
 java.lang.Object getFieldValue(EDAMNotFoundException._Fields field)
           
 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 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)
           
 void setFieldValue(EDAMNotFoundException._Fields field, 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(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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

public static final java.util.Map<EDAMNotFoundException._Fields,FieldMetaData> metaDataMap
Constructor Detail

EDAMNotFoundException

public EDAMNotFoundException()

EDAMNotFoundException

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

Method Detail

deepCopy

public EDAMNotFoundException deepCopy()

clear

public void clear()

getIdentifier

public java.lang.String getIdentifier()

setIdentifier

public void setIdentifier(java.lang.String identifier)

unsetIdentifier

public void unsetIdentifier()

isSetIdentifier

public boolean isSetIdentifier()
Returns true if field identifier is set (has been asigned a value) and false otherwise


setIdentifierIsSet

public void setIdentifierIsSet(boolean value)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

unsetKey

public void unsetKey()

isSetKey

public boolean isSetKey()
Returns true if field key is set (has been asigned a value) and false otherwise


setKeyIsSet

public void setKeyIsSet(boolean value)

setFieldValue

public void setFieldValue(EDAMNotFoundException._Fields field,
                          java.lang.Object value)

getFieldValue

public java.lang.Object getFieldValue(EDAMNotFoundException._Fields field)

isSet

public boolean isSet(EDAMNotFoundException._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise


equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(EDAMNotFoundException that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(EDAMNotFoundException other)

fieldForId

public EDAMNotFoundException._Fields fieldForId(int fieldId)

read

public void read(TProtocol iprot)
          throws TException
Throws:
TException

write

public void write(TProtocol oprot)
           throws TException
Throws:
TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

validate

public void validate()
              throws TException
Throws:
TException