eu.scape_project.watch.utils.exception
Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.WebApplicationException
eu.scape_project.watch.utils.exception.ApiException
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. |
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 |
CODE
public static final int CODE
- HTTP code related to this exception.
- See Also:
- Constant Field Values
NotFoundException
public NotFoundException(String msg)
- Create a new not found exception.
- Parameters:
msg
- a message explaining the occurrence
Copyright © 2012 SCAPE. All Rights Reserved.