Skip navigation links
oracle.stellent.ridc.protocol
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.stellent.ridc.IdcClientException
oracle.stellent.ridc.protocol.ServiceException
- All Implemented Interfaces:
- java.io.Serializable
-
public class ServiceException
- extends IdcClientException
Exceptions that occur when processing service requests. Specifically, these are errors that are thrown from the Content Server. If you use the deprecated constructors to create this exception, then the binder information will be lost if the exception is serialized and then de-serialized (for example in a j2ee environment). If the binder information is lost, a new binder will be created by the getBinder method with a message stating that the information was lost. The non-deprecated constructors will create a transient binder from the serializable parameters.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServiceException
public ServiceException(java.lang.String message,
HdaBinderSerializer serializer,
java.lang.String response,
java.lang.Throwable cause)
-
- Parameters:
message
- Usually this is from binder.getLocal ("StatusMessage")
serializer
- Serializer used when you parsed the binder
response
- Response HDA string from the content server
cause
- to nest exceptions
ServiceException
public ServiceException(java.lang.String message,
HdaBinderSerializer serializer,
java.lang.String response)
-
- Parameters:
message
- Usually this is from binder.getLocal ("StatusMessage")
serializer
- Serializer used when you parsed the binder
response
- Response HDA string from the content server
ServiceException
public ServiceException(java.lang.Throwable cause,
DataBinder binder)
- Deprecated. DataBinder is not a serializable object
- Parameters:
cause
- the cause
binder
- the data binder
ServiceException
public ServiceException(DataBinder binder)
- Deprecated. DataBinder is not a serializable object.
- Parameters:
binder
- the data binder
getBinder
public DataBinder getBinder()
-
- Returns:
- the data binder which was returned from the Content Server
getStatusCode
public int getStatusCode()
-
- Returns:
- the Content Server status code
getStatusMessage
public java.lang.String getStatusMessage()
-
- Returns:
- the Content Server status message
Skip navigation links
Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.