Class ServiceException

All Implemented Interfaces:
Serializable

public class ServiceException extends PubServerException
Exception if a service method fails with no remedy.
See Also:
  • Constructor Details

    • ServiceException

      public ServiceException(String message, Throwable cause, int errorCode, Object caller)
      Constructor
      Parameters:
      message - short textual error message, possibly containing some identifying object data
      cause - (optional) original exception leading to this one or null
      errorCode - Global unique code error number for every exception in our system
      caller - Object that creates this exception. Object class name will be used as name of the module that created this exception. If caller is of type String the string itself will be used as module name (long strings might be truncated).
    • ServiceException

      public ServiceException(String message, Throwable cause)
      Constructor
      Parameters:
      message - short textual error message, possibly containing some identifying object data
      cause - (optional) original exception leading to this one or null