|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.omg.dds.core.DDSException
public abstract class DDSException
DDS recognizes a number of ways in which an operation may return, which are mapped to exceptions in the following way:
| Return | Description | Exception |
|---|---|---|
| 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) |
| 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 |
|---|
protected DDSException()
protected DDSException(java.lang.String message)
protected DDSException(java.lang.Throwable cause)
protected DDSException(java.lang.String message,
java.lang.Throwable cause)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.