eu.scape_project.watch.utils.exception
Class ApiException

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 eu.scape_project.watch.utils.exception.ApiException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadRequestException, NotFoundException

public class ApiException
extends javax.ws.rs.WebApplicationException

See Also:
Serialized Form

Constructor Summary
ApiException(int code, String message)
           
ApiException(int code, Throwable e)
           
 
Method Summary
 
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

ApiException

public ApiException(int code,
                    String message)

ApiException

public ApiException(int code,
                    Throwable e)


Copyright © 2012 SCAPE. All Rights Reserved.