org.omg.dds.core
Class DDSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.omg.dds.core.DDSException
All Implemented Interfaces:
java.io.Serializable, DDSObject
Direct Known Subclasses:
AlreadyClosedException, IllegalOperationException, ImmutablePolicyException, InconsistentPolicyException, NotEnabledException, OutOfResourcesException, PreconditionNotMetException

public abstract class DDSException
extends java.lang.RuntimeException
implements DDSObject

DDS recognizes a number of ways in which an operation may return, which are mapped to exceptions in the following way:

ReturnDescriptionException
OK Normal, successful return. (none)
NO_DATA Normal, successful return from a data access method such as DataReader.take(), but no data was available. (none)
TIMEOUT Blocking operation failed to complete within the specified timeout duration. TimeoutException
BAD_PARAMETER An argument passed to a method was out of range or had a value that was otherwise illegal. IllegalArgumentException
UNSUPPORTED The method is not supported by this DDS implementation. UnsupportedOperationException
NOT_ENABLED The Entity has not yet been enabled for communication. NotEnabledException
ALREADY_DELETED The object on which the method is invoked has already been closed. AlreadyClosedException
ILLEGAL_OPERATION The method cannot be invoked in the current calling context (e.g. from within a listener callback). IllegalOperationException
PRECONDITION_NOT_MET The object is not in the proper state to invoke the method. PreconditionNotMetException
IMMUTABLE_POLICY An attempt was made to change a QosPolicy that cannot be changed. ImmutablePolicyException
INCONSISTENT_POLICY Two or more QosPolicy property values have been specified that are inconsistent with one another. ImmutablePolicyException
OUT_OF_RESOURCES An internal resource of the DDS implementation has been exhausted, preventing the successful completion of the method. OutOfResourcesException
ERROR The method failed to complete successfully for another reason. DDSException (this class)

See Also:
Serialized Form

Constructor Summary
protected DDSException()
           
protected DDSException(java.lang.String message)
           
protected DDSException(java.lang.String message, java.lang.Throwable cause)
           
protected DDSException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Constructor Detail

DDSException

protected DDSException()

DDSException

protected DDSException(java.lang.String message)

DDSException

protected DDSException(java.lang.Throwable cause)

DDSException

protected DDSException(java.lang.String message,
                       java.lang.Throwable cause)


Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.