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 thrown by Service Handler when there was problem in processing the service request.

Author:
Toni Kalajainen
See Also:
Serialized Form

Constructor Summary
ServiceException(Accessor error)
           
ServiceException(Binding binding, java.lang.Object value)
           
 
Method Summary
 Accessor 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(Accessor error)

ServiceException

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

getError

public Accessor getError()

getErrorType

public java.lang.Object getErrorType()

getError

public java.lang.Object getError(Binding binding)