com.ibm.carma.transport
Class NotSynchronizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.carma.transport.NotSynchronizedException
All Implemented Interfaces:
java.io.Serializable

public class NotSynchronizedException
extends java.lang.Exception

Exception thrown when a CARMA model object has not been properly synchronized with the transport layer. The exception usually emerges when a user initially accesses the model structure. It can be resolved by refreshing the model.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
NotSynchronizedException(java.lang.String message, java.lang.String memberId, java.lang.String name)
          Constructs a new NotSynchronizedException with the specified detail message, member id, and member name.
NotSynchronizedException(java.lang.String message, java.lang.String memberId, java.lang.String name, NotSynchronizedException cause)
          Constructs a new NotSynchronizedException with the specified detail message, member identifier, member name, and cause.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

NotSynchronizedException

public NotSynchronizedException(java.lang.String message,
                                java.lang.String memberId,
                                java.lang.String name)
Constructs a new NotSynchronizedException with the specified detail message, member id, and member name. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
memberId - member identifier of the resource that is not synchronized
name - name of the resource that is not synchronized

NotSynchronizedException

public NotSynchronizedException(java.lang.String message,
                                java.lang.String memberId,
                                java.lang.String name,
                                NotSynchronizedException cause)
Constructs a new NotSynchronizedException with the specified detail message, member identifier, member name, and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the getMessage() method).
memberId - member identifier of the resource that is not synchronized
name - name of the resource that is not synchronized
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

getMessage

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