restart.server
Class RestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by restart.server.RestException
All Implemented Interfaces:
java.io.Serializable

public class RestException
extends java.lang.Exception

Author:
Thibault Ducray
See Also:
Serialized Form

Constructor Summary
RestException(ErrorCode httpErrorCode)
           
RestException(ErrorCode httpErrorCode, java.lang.String string)
           
 
Method Summary
 ErrorCode getHttpErrorCode()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestException

public RestException(ErrorCode httpErrorCode,
                     java.lang.String string)

RestException

public RestException(ErrorCode httpErrorCode)
Method Detail

getHttpErrorCode

public ErrorCode getHttpErrorCode()