Class ServiceException

  • All Implemented Interfaces:
    java.io.Serializable

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

      • ServiceException

        public ServiceException​(java.lang.String message,
                                java.lang.Throwable cause,
                                int errorCode,
                                java.lang.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​(java.lang.String message,
                                java.lang.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