at.tuwien.ifs.somtoolbox.apps.viewer.controls.psomserver.httphandler
Class HttpErrorHandler

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.apps.viewer.controls.psomserver.httphandler.HttpErrorHandler

public class HttpErrorHandler
extends Object


Field Summary
private static String HTML_000
           
private static String SERVER_FOOTER
           
 
Constructor Summary
HttpErrorHandler()
           
 
Method Summary
static void sendError(com.sun.net.httpserver.HttpExchange t, int errCode)
           
static void sendError(com.sun.net.httpserver.HttpExchange t, int errCode, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_FOOTER

private static final String SERVER_FOOTER
See Also:
Constant Field Values

HTML_000

private static final String HTML_000
See Also:
Constant Field Values
Constructor Detail

HttpErrorHandler

public HttpErrorHandler()
Method Detail

sendError

public static void sendError(com.sun.net.httpserver.HttpExchange t,
                             int errCode)
                      throws IOException
Throws:
IOException

sendError

public static void sendError(com.sun.net.httpserver.HttpExchange t,
                             int errCode,
                             String message)
                      throws IOException
Throws:
IOException