org.simantics.databoard.channel
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.simantics.databoard.channel.ServiceException
All Implemented Interfaces:
java.io.Serializable

public abstract class ServiceException
extends java.lang.Exception

Service exception is a problem in processing the service request. It is produces by Service Handler. Service Exception is not a communication error.

Author:
Toni Kalajainen
See Also:
Serialized Form

Constructor Summary
ServiceException(Binding binding, java.lang.Object value)
           
ServiceException(Variant error)
           
 
Method Summary
 Variant getError()
           
 java.lang.Object getError(Binding binding)
           
 java.lang.Object getErrorType()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceException

public ServiceException(Variant error)

ServiceException

public ServiceException(Binding binding,
                        java.lang.Object value)
Method Detail

getError

public Variant getError()

getErrorType

public java.lang.Object getErrorType()

getError

public java.lang.Object getError(Binding binding)
                          throws BindingException
Throws:
BindingException