org.apache.falcon
Class FalconWebException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ws.rs.WebApplicationException
                  extended by org.apache.falcon.FalconWebException
All Implemented Interfaces:
Serializable

public class FalconWebException
extends javax.ws.rs.WebApplicationException

Exception for REST APIs.

See Also:
Serialized Form

Constructor Summary
FalconWebException(javax.ws.rs.core.Response response)
           
 
Method Summary
static FalconWebException newException(org.apache.falcon.resource.APIResult result, javax.ws.rs.core.Response.Status status)
           
static FalconWebException newException(String message, javax.ws.rs.core.Response.Status status)
           
static FalconWebException newException(Throwable e, javax.ws.rs.core.Response.Status status)
           
static FalconWebException newInstanceException(String message, javax.ws.rs.core.Response.Status status)
           
static FalconWebException newInstanceException(Throwable e, javax.ws.rs.core.Response.Status status)
           
 
Methods inherited from class javax.ws.rs.WebApplicationException
getResponse
 
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

FalconWebException

public FalconWebException(javax.ws.rs.core.Response response)
Method Detail

newException

public static FalconWebException newException(Throwable e,
                                              javax.ws.rs.core.Response.Status status)

newInstanceException

public static FalconWebException newInstanceException(Throwable e,
                                                      javax.ws.rs.core.Response.Status status)

newException

public static FalconWebException newException(org.apache.falcon.resource.APIResult result,
                                              javax.ws.rs.core.Response.Status status)

newException

public static FalconWebException newException(String message,
                                              javax.ws.rs.core.Response.Status status)

newInstanceException

public static FalconWebException newInstanceException(String message,
                                                      javax.ws.rs.core.Response.Status status)


Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.