eu.scape_project.watch.utils.exception
Class NotFoundException

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
                      extended by eu.scape_project.watch.utils.exception.NotFoundException
All Implemented Interfaces:
Serializable

public class NotFoundException
extends ApiException

Exception thrown when a element is not found in the requested resource.

Author:
Luis Faria
See Also:
Serialized Form

Field Summary
static int CODE
          HTTP code related to this exception.
 
Constructor Summary
NotFoundException(String msg)
          Create a new not found exception.
 
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
 

Field Detail

CODE

public static final int CODE
HTTP code related to this exception.

See Also:
Constant Field Values
Constructor Detail

NotFoundException

public NotFoundException(String msg)
Create a new not found exception.

Parameters:
msg - a message explaining the occurrence


Copyright © 2012 SCAPE. All Rights Reserved.