Class EjwsException

All Implemented Interfaces:
Serializable

public class EjwsException extends Exception
EJWS Exception class. This class is provided so that the method WebMap.getInfoFromPath(String,String,String,String,WebMap.RequestInfo) can simply throw an exception to indicate an error. It's caller will then generate a standard error message and set an appropriate response status code.
See Also:
  • Constructor Details

    • EjwsException

      public EjwsException()
      Constructor.
    • EjwsException

      public EjwsException(String message)
      Constructor with a message.
      Parameters:
      message - the message
    • EjwsException

      public EjwsException(String message, Throwable cause)
      Constructor with a message and cause.
      Parameters:
      message - the message
      cause - the exception that caused this exception; null if not known
    • EjwsException

      protected EjwsException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Constructor with a message and cause, suppression enabled or disabled, and a writable stack trace enabled or disabled.
      Parameters:
      message - the message
      cause - the exception that caused this exception; null if not known
      enableSuppression - true if suppression is enabled; false if it is disabled
      writableStackTrace - true if the stack trace should be writable; false otherwise
    • EjwsException

      public EjwsException(Throwable cause)
      Constructor given a cause.
      Parameters:
      cause - the cause; null if the cause is not known