org.opentox.pol
Class RestException

Package class diagram package RestException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opentox.pol.RestException
All Implemented Interfaces:
Serializable

public class RestException
extends Exception

See Also:
Serialized Form

Field Summary
protected  int httpcode
           
 
Constructor Summary
RestException(int code)
           
RestException(int code, String message)
           
RestException(int code, String message, Throwable cause)
           
RestException(int code, Throwable cause)
           
 
Method Summary
 int getHttpcode()
           
 void setHttpcode(int httpcode)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

httpcode

protected int httpcode
Constructor Detail

RestException

public RestException(int code)

RestException

public RestException(int code,
                     String message)

RestException

public RestException(int code,
                     String message,
                     Throwable cause)

RestException

public RestException(int code,
                     Throwable cause)
Method Detail

getHttpcode

public int getHttpcode()

setHttpcode

public void setHttpcode(int httpcode)

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2010-2011 OpenTox project. All Rights Reserved.