cisco.uc.cuae
Class messaging.InvalidMessageStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cisco.uc.cuae.messaging.InvalidMessageStateException
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
messaging

public static class messaging.InvalidMessageStateException
extends java.lang.Exception

Thrown when the message is in invalid state, such as already archived ,un-restorable.

See Also:
Serialized Form

Field Summary
 java.lang.String mailboxId
          The ID for the mailbox.
 java.lang.String messageId
          The ID of a message in the mailbox.
 java.lang.String reason
          The reason or state of the message
 
Constructor Summary
messaging.InvalidMessageStateException()
          Constructs the InvalidMessageStateException.
messaging.InvalidMessageStateException(java.lang.String mailboxId, java.lang.String messageId, java.lang.String reason)
          Constructs the InvalidMessageStateException.
 
Method Summary
 java.lang.String getMailboxId()
          Gets the value.
 java.lang.String getMessage()
           
 java.lang.String getMessageId()
          Gets the value.
 java.lang.String getReason()
          Gets the value.
 void setMailboxId(java.lang.String value)
          Sets the value.
 void setMessageId(java.lang.String value)
          Sets the value.
 void setReason(java.lang.String value)
          Sets the value.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mailboxId

public java.lang.String mailboxId
The ID for the mailbox.


messageId

public java.lang.String messageId
The ID of a message in the mailbox.


reason

public java.lang.String reason
The reason or state of the message

Constructor Detail

messaging.InvalidMessageStateException

public messaging.InvalidMessageStateException()
Constructs the InvalidMessageStateException. Don't init any fields.


messaging.InvalidMessageStateException

public messaging.InvalidMessageStateException(java.lang.String mailboxId,
                                              java.lang.String messageId,
                                              java.lang.String reason)
Constructs the InvalidMessageStateException.

Parameters:
mailboxId - The ID for the mailbox.
messageId - The ID of a message in the mailbox.
reason - The reason or state of the message
Method Detail

getMessage

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

getMailboxId

public java.lang.String getMailboxId()
Gets the value. The ID for the mailbox.

Returns:
the value.

setMailboxId

public void setMailboxId(java.lang.String value)
Sets the value. The ID for the mailbox.

Parameters:
value - the value.

getMessageId

public java.lang.String getMessageId()
Gets the value. The ID of a message in the mailbox.

Returns:
the value.

setMessageId

public void setMessageId(java.lang.String value)
Sets the value. The ID of a message in the mailbox.

Parameters:
value - the value.

getReason

public java.lang.String getReason()
Gets the value. The reason or state of the message

Returns:
the value.

setReason

public void setReason(java.lang.String value)
Sets the value. The reason or state of the message

Parameters:
value - the value.


Copyright © 2008. All Rights Reserved.