Class ResourceNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.gerrit.extensions.restapi.RestApiException
-
- com.google.gerrit.extensions.restapi.ResourceNotFoundException
-
- All Implemented Interfaces:
Serializable
public class ResourceNotFoundException extends RestApiException
Named resource does not exist (HTTP 404 Not Found).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceNotFoundException()
Requested resource is not found, failing portion not specified.ResourceNotFoundException(IdString id)
ResourceNotFoundException(String msg)
ResourceNotFoundException(String msg, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceNotFoundException
caching(CacheControl c)
-
Methods inherited from class com.google.gerrit.extensions.restapi.RestApiException
caching, setCaching
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResourceNotFoundException
public ResourceNotFoundException()
Requested resource is not found, failing portion not specified.
-
ResourceNotFoundException
public ResourceNotFoundException(String msg)
-
ResourceNotFoundException
public ResourceNotFoundException(IdString id)
- Parameters:
id
- portion of the resource URI that does not exist.
-
-
Method Detail
-
caching
public ResourceNotFoundException caching(CacheControl c)
-
-