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 SummaryConstructors Constructor Description ResourceNotFoundException()Requested resource is not found, failing portion not specified.ResourceNotFoundException(IdString id)ResourceNotFoundException(IdString id, Throwable cause)ResourceNotFoundException(String msg)ResourceNotFoundException(String msg, Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceNotFoundExceptioncaching(CacheControl c)- 
Methods inherited from class com.google.gerrit.extensions.restapi.RestApiExceptioncaching, setCaching, wrap
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ResourceNotFoundExceptionpublic ResourceNotFoundException() Requested resource is not found, failing portion not specified.
 - 
ResourceNotFoundExceptionpublic ResourceNotFoundException(String msg) 
 - 
ResourceNotFoundExceptionpublic ResourceNotFoundException(IdString id) - Parameters:
- id- portion of the resource URI that does not exist.
 
 
- 
 - 
Method Detail- 
cachingpublic ResourceNotFoundException caching(CacheControl c) 
 
- 
 
-