OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.omg.dds.core.DDSException Class Referenceabstract

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

Inheritance diagram for org.omg.dds.core.DDSException:
Inheritance graph
Collaboration diagram for org.omg.dds.core.DDSException:
Collaboration graph

Public Member Functions

ServiceEnvironment getEnvironment ()
 

Protected Member Functions

 DDSException ()
 
 DDSException (String message)
 
 DDSException (Throwable cause)
 
 DDSException (String message, Throwable cause)
 

Detailed Description

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

Definition at line 110 of file DDSException.java.

Constructor & Destructor Documentation

◆ DDSException() [1/4]

org.omg.dds.core.DDSException.DDSException ( )
protected

Definition at line 126 of file DDSException.java.

◆ DDSException() [2/4]

org.omg.dds.core.DDSException.DDSException ( String  message)
protected

Definition at line 130 of file DDSException.java.

◆ DDSException() [3/4]

org.omg.dds.core.DDSException.DDSException ( Throwable  cause)
protected

Definition at line 134 of file DDSException.java.

◆ DDSException() [4/4]

org.omg.dds.core.DDSException.DDSException ( String  message,
Throwable  cause 
)
protected

Definition at line 138 of file DDSException.java.

Member Function Documentation

◆ getEnvironment()

ServiceEnvironment org.omg.dds.core.DDSObject.getEnvironment ( )
inherited
Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implemented in org.omg.dds.core.ServiceEnvironment, org.opensplice.dds.sub.ReflectionDataReader< TYPE, OUT_TYPE >, org.opensplice.dds.core.ModifiableTimeImpl, org.opensplice.dds.pub.ReflectionDataWriter< TYPE >, org.opensplice.dds.core.DurationImpl, org.opensplice.dds.topic.ContentFilteredTopicImpl< TYPE >, org.opensplice.dds.sub.ReadConditionImpl< TYPE >, org.opensplice.dds.core.EntityQosImpl< T extends QosPolicy >, org.opensplice.dds.type.TypeSupportImpl< TYPE >, org.opensplice.dds.topic.PublicationBuiltinTopicDataImpl, org.opensplice.dds.topic.SubscriptionBuiltinTopicDataImpl, org.opensplice.dds.topic.TopicBuiltinTopicDataImpl, org.opensplice.dds.domain.DomainParticipantFactoryImpl, org.opensplice.dds.core.QosProviderImpl, org.opensplice.dds.core.status.OfferedIncompatibleQosStatusImpl, org.opensplice.dds.core.status.RequestedIncompatibleQosStatusImpl, org.opensplice.dds.core.InstanceHandleImpl, org.opensplice.dds.core.StatusConditionImpl< T extends Entity<?, ?>, org.opensplice.dds.core.status.LivelinessChangedStatusImpl, org.opensplice.dds.core.status.PublicationMatchedStatusImpl, org.opensplice.dds.core.status.SubscriptionMatchedStatusImpl, org.opensplice.dds.sub.SampleImpl< TYPE >, org.opensplice.dds.core.policy.ShareImpl, org.opensplice.dds.core.status.OfferedDeadlineMissedStatusImpl, org.opensplice.dds.core.status.SampleRejectedStatusImpl, org.opensplice.dds.core.WaitSetImpl, org.opensplice.dds.topic.ParticipantBuiltinTopicDataImpl, org.opensplice.dds.core.status.RequestedDeadlineMissedStatusImpl, org.opensplice.dds.topic.BuiltinTopicKeyImpl, org.opensplice.dds.core.GuardConditionImpl, org.opensplice.dds.core.event.AllDataDisposedEventImpl< TYPE >, org.opensplice.dds.core.policy.QosPolicyCountImpl, org.opensplice.dds.core.status.InconsistentTopicStatusImpl, org.opensplice.dds.core.status.LivelinessLostStatusImpl, org.opensplice.dds.core.status.SampleLostStatusImpl, org.opensplice.dds.core.policy.QosPolicyImpl, org.opensplice.dds.core.status.AllDataDisposedStatusImpl, org.opensplice.dds.core.IllegalArgumentExceptionImpl, org.opensplice.dds.core.InconsistentPolicyExceptionImpl, org.opensplice.dds.core.policy.PolicyFactoryImpl, org.opensplice.dds.core.policy.TypeConsistencyEnforcementImpl, org.opensplice.dds.core.PreconditionNotMetExceptionImpl, org.opensplice.dds.core.AlreadyClosedExceptionImpl, org.opensplice.dds.core.IllegalOperationExceptionImpl, org.opensplice.dds.core.ImmutablePolicyExceptionImpl, org.opensplice.dds.core.NotEnabledExceptionImpl, org.opensplice.dds.core.OutOfResourcesExceptionImpl, org.opensplice.dds.core.DDSExceptionImpl, org.opensplice.dds.core.status.DataAvailableStatusImpl, and org.opensplice.dds.core.status.DataOnReadersStatusImpl.


The documentation for this class was generated from the following file: