Package org.apache.vinci.transport
Class ServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.vinci.transport.ServiceException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceException extends java.lang.ExceptionSpecial exception thrown by VinciClient indicating an "application level" error or exception. Vinci services can also throw this exception and an equivalent exception will arise on the other side. Other ways to cause an exception to be returned on the other side is to simply return an ErrorFrame. An ErrorFrame allows arbitrary other information to be returned along with the exception message. If a Vinci service throws a ServiceException, then this is equivalent to returning a Vinci ErrorFrame as returned by the single ErrorFrame constructor.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Transportablecomplete_resultprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ServiceException(java.lang.String error_message)ServiceException(java.lang.String error_message, Transportable result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportablegetCompleteDocument()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
complete_result
private Transportable complete_result
-
-
Constructor Detail
-
ServiceException
public ServiceException(java.lang.String error_message, Transportable result)
-
ServiceException
public ServiceException(java.lang.String error_message)
-
-
Method Detail
-
getCompleteDocument
public Transportable getCompleteDocument()
-
-