org.resteasy
Class Failure

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.resteasy.Failure
All Implemented Interfaces:
java.io.Serializable

public class Failure
extends java.lang.RuntimeException

Version:
$Revision: 1 $
Author:
Bill Burke
See Also:
Serialized Form

Constructor Summary
Failure(int errorCode)
           
Failure(java.lang.String s, int errorCode)
           
Failure(java.lang.String s, java.lang.Throwable throwable, int errorCode)
           
Failure(java.lang.Throwable throwable, int errorCode)
           
 
Method Summary
 int getErrorCode()
           
 void setErrorCode(int errorCode)
           
 
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
 

Constructor Detail

Failure

public Failure(int errorCode)

Failure

public Failure(java.lang.String s,
               int errorCode)

Failure

public Failure(java.lang.String s,
               java.lang.Throwable throwable,
               int errorCode)

Failure

public Failure(java.lang.Throwable throwable,
               int errorCode)
Method Detail

getErrorCode

public int getErrorCode()

setErrorCode

public void setErrorCode(int errorCode)


Copyright © 2008. All Rights Reserved.