de.esprit.netsuite.server.webserver

## Class WebServerException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - de.esprit.netsuite.server.webserver.WebServerException

- All Implemented Interfaces:
    java.io.Serializable

      public class WebServerException
      extends java.io.IOException

  This Exception is thrown when the web-server fails to handle a request.
  Author:
    Rainer Buesch
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WebServerException(int errorCode, java.lang.Exception cause)`
    `WebServerException(int errorCode, java.lang.String errMsg)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getErrorCode()`
    `void` | `writeError(com.sun.net.httpserver.HttpExchange req)`

    - ### 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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### WebServerException

          public WebServerException(int errorCode,
                            java.lang.Exception cause)

    - #### WebServerException

          public WebServerException(int errorCode,
                            java.lang.String errMsg)

  - ### Method Detail

    - #### getErrorCode

          public int getErrorCode()

    - #### writeError

          public void writeError(com.sun.net.httpserver.HttpExchange req)
                          throws java.io.IOException

      Throws:
        `java.io.IOException`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.