public class DOFErrorException extends DOFException implements DOFImmutable
DOFProviderException,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
ACK_TIMEOUT
An operation has not been acknowledged within the time limit.
|
static int |
APPLICATION_ERROR
The provider implementation (or any application OperationListener implementation) has failed.
|
static int |
DUPLICATE
An operation or entry already exists and cannot be entered again.
|
static int |
INSUFFICIENT_RESOURCES
A node, either a proxy or the provider, does not have resources available to accept or process the command.
|
static int |
IO_FAILED
Send or receive failed over transport or I/O channel.
|
static int |
NOT_FOUND
Requested information cannot be found.
|
static int |
NOT_READABLE
The property is not readable.
|
static int |
NOT_SUPPORTED
The request does not match the interface (for example, a Get on a write-only property, or an Invoke on an Event).
|
static int |
NOT_WRITABLE
The property is not writable.
|
static int |
PROTOCOL_NEGOTIATION_FAILED
Protocol negotiation failed when attempting to establish a connection.
|
static int |
REJECTED
An operation has been rejected.
|
static int |
RESULT_LOST
One or more results for this operation have been lost (not received).
|
static int |
TERMINATED
The connection or server or operation has been terminated.
|
static int |
TIMEOUT
An operation timed out.
|
static int |
TOO_MANY
A limit has been reached.
|
static int |
TRANSPORT_FAILED
A transport has failed, usually resulting in a connection or server being shutdown.
|
static int |
TYPE_MISMATCH
A value or value list could not be written to or read from the wire.
|
FAILED| Constructor and Description |
|---|
DOFErrorException()
Construct a DOFErrorException with error code
DOFException.FAILED. |
DOFErrorException(java.lang.String message)
Construct a DOFErrorException with error code
DOFException.FAILED and containing an error message. |
DOFErrorException(java.lang.String message,
java.lang.Throwable cause)
Construct a DOFErrorException with error code
DOFException.FAILED and containing an error message and a cause. |
DOFErrorException(java.lang.Throwable cause)
Construct a DOFErrorException with error code
DOFException.FAILED and containing a cause. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorCodeString(int errorCode)
Get a String representation of an error code.
|
java.lang.String |
toString()
Get a string representation of this object.
|
create, getErrorCode, getMessage, getProviderInfo, marshalpublic static final int NOT_SUPPORTED
DOFObject.get(org.opendof.core.oal.DOFInterface.Property, int),
DOFObject.set(org.opendof.core.oal.DOFInterface.Property, org.opendof.core.oal.DOFValue, int),
DOFObject.invoke(org.opendof.core.oal.DOFInterface.Method, java.util.List<org.opendof.core.oal.DOFValue>, int),
DOFObject.beginSession(org.opendof.core.oal.DOFInterface, org.opendof.core.oal.DOFInterfaceID),
DOFSystem.createSubscription(org.opendof.core.oal.DOFObjectID, org.opendof.core.oal.DOFInterface.Property, int, org.opendof.core.oal.DOFSubscription.Listener, java.lang.Object),
DOFSystem.createRegistration(org.opendof.core.oal.DOFObjectID, org.opendof.core.oal.DOFInterface.Event, org.opendof.core.oal.DOFRegistration.Listener, java.lang.Object),
Constant Field Valuespublic static final int TYPE_MISMATCH
DOFObject.get(org.opendof.core.oal.DOFInterface.Property, int),
DOFObject.set(org.opendof.core.oal.DOFInterface.Property, org.opendof.core.oal.DOFValue, int),
DOFObject.invoke(org.opendof.core.oal.DOFInterface.Method, java.util.List<org.opendof.core.oal.DOFValue>, int),
DOFSystem.createSubscription(org.opendof.core.oal.DOFObjectID, org.opendof.core.oal.DOFInterface.Property, int, org.opendof.core.oal.DOFSubscription.Listener, java.lang.Object),
Constant Field Valuespublic static final int INSUFFICIENT_RESOURCES
public static final int TERMINATED
DOFServer.start(int),
DOFServer.beginStart(int, org.opendof.core.oal.DOFServer.StartOperationListener, Object),
DOFConnection.connect(int),
DOFConnection.beginConnect(int, org.opendof.core.oal.DOFConnection.ConnectOperationListener, Object),
DOFSystem.createSubscription(org.opendof.core.oal.DOFObjectID, org.opendof.core.oal.DOFInterface.Property, int, org.opendof.core.oal.DOFSubscription.Listener, java.lang.Object),
DOFSystem.createRegistration(org.opendof.core.oal.DOFObjectID, org.opendof.core.oal.DOFInterface.Event, org.opendof.core.oal.DOFRegistration.Listener, java.lang.Object),
Constant Field Valuespublic static final int REJECTED
public static final int NOT_FOUND
DOFObject.get(org.opendof.core.oal.DOFInterface.Property, int),
DOFObject.set(org.opendof.core.oal.DOFInterface.Property, org.opendof.core.oal.DOFValue, int),
DOFObject.invoke(org.opendof.core.oal.DOFInterface.Method, java.util.List<org.opendof.core.oal.DOFValue>, int),
DOFObject.beginSession(org.opendof.core.oal.DOFInterface, org.opendof.core.oal.DOFInterfaceID),
DOFSystem.createSubscription(org.opendof.core.oal.DOFObjectID, org.opendof.core.oal.DOFInterface.Property, int, org.opendof.core.oal.DOFSubscription.Listener, java.lang.Object),
DOFSystem.createRegistration(org.opendof.core.oal.DOFObjectID, org.opendof.core.oal.DOFInterface.Event, org.opendof.core.oal.DOFRegistration.Listener, java.lang.Object),
Constant Field Valuespublic static final int DUPLICATE
public static final int TOO_MANY
public static final int APPLICATION_ERROR
public static final int TIMEOUT
public static final int NOT_READABLE
public static final int NOT_WRITABLE
public static final int RESULT_LOST
public static final int PROTOCOL_NEGOTIATION_FAILED
public static final int IO_FAILED
public static final int TRANSPORT_FAILED
public static final int ACK_TIMEOUT
public DOFErrorException()
DOFException.FAILED.public DOFErrorException(java.lang.String message)
DOFException.FAILED and containing an error message.public DOFErrorException(java.lang.Throwable cause)
DOFException.FAILED and containing a cause.cause - The original cause of the exception. May be null.public DOFErrorException(java.lang.String message,
java.lang.Throwable cause)
DOFException.FAILED and containing an error message and a cause.message - The error message for this exception (see DOFException.getMessage()). May be null.cause - The original cause of the exception. May be null.public java.lang.String toString()
toString in class DOFExceptionpublic java.lang.String getErrorCodeString(int errorCode)
DOFExceptiongetErrorCodeString in class DOFExceptionerrorCode - The error code to convert to a String.