Class ServiceException

All Implemented Interfaces:
Serializable

public class ServiceException extends ControllerException
An Exception thrown by Web Services.
Since:
1.0
Version:
9.0
Author:
Luke
See Also:
  • Constructor Details

    • ServiceException

      ServiceException(int code, String msg, Throwable t)
      Creates a new Web Service Exception from an existing exception.
      Parameters:
      code - the HTTP result code
      msg - the exception message
      t - the existing exception
    • ServiceException

      ServiceException(int code, String msg)
      Creates a new Web Service Exception.
      Parameters:
      code - the HTTP result code
      msg - the exception message
    • ServiceException

      ServiceException(int code, String msg, boolean dumpStack)
      Creates a new Web Service Exception.
      Parameters:
      code - the HTTP result code
      msg - the exception message
      dumpStack - TRUE if the stack should be dumped, otherwise FALSE
  • Method Details

    • getCode

      public int getCode()
      Returns the HTTP result code.
      Returns:
      the HTTP result code