net.sf.jbaobab.tutorial
Class RoughHttpError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by net.sf.jbaobab.tutorial.RoughHttpError
All Implemented Interfaces:
Serializable

public class RoughHttpError
extends Error

An Error that represents HTTP errors, designed for RoughHttpHandler.

Author:
Oakyoon Cha
See Also:
RoughHttpHandler, Serialized Form

Field Summary
static RoughHttpError HTTP_400
           
static RoughHttpError HTTP_403
           
static RoughHttpError HTTP_404
           
static RoughHttpError HTTP_500
           
static RoughHttpError HTTP_501
           
static RoughHttpError HTTP_505
           
 
Constructor Summary
RoughHttpError(Integer code)
           
 
Method Summary
 Integer code()
           
 boolean connectionReusable()
           
 String description()
           
 Map<String,String> extras()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HTTP_400

public static final RoughHttpError HTTP_400

HTTP_403

public static final RoughHttpError HTTP_403

HTTP_404

public static final RoughHttpError HTTP_404

HTTP_500

public static final RoughHttpError HTTP_500

HTTP_501

public static final RoughHttpError HTTP_501

HTTP_505

public static final RoughHttpError HTTP_505
Constructor Detail

RoughHttpError

public RoughHttpError(Integer code)
Method Detail

code

public Integer code()

description

public String description()

extras

public Map<String,String> extras()

connectionReusable

public boolean connectionReusable()