com.ibm.wsspi.rest.handler.helper

Class RESTHandlerInternalError

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.ibm.wsspi.rest.handler.helper.RESTHandlerInternalError
  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RESTHandlerOSGiError


    public class RESTHandlerInternalError
    extends java.lang.RuntimeException
    This error is thrown by the RESTHandlerContainer when an internal error is encountered by a RESTHandler.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getStatusCode() 
      void setStatusCode(int code) 
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RESTHandlerInternalError

        public RESTHandlerInternalError(java.lang.Exception e)
      • RESTHandlerInternalError

        public RESTHandlerInternalError(java.lang.String msg)
    • Method Detail

      • setStatusCode

        public void setStatusCode(int code)
      • getStatusCode

        public int getStatusCode()