Class MethodNotAllowedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.gerrit.extensions.restapi.RestApiException
-
- com.google.gerrit.extensions.restapi.MethodNotAllowedException
-
- All Implemented Interfaces:
Serializable
public class MethodNotAllowedException extends RestApiException
Method is not acceptable on the resource (HTTP 405 Method Not Allowed).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodNotAllowedException()
MethodNotAllowedException(String msg)
-
Method Summary
-
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
-
MethodNotAllowedException
public MethodNotAllowedException()
-
MethodNotAllowedException
public MethodNotAllowedException(String msg)
- Parameters:
msg
- error text for client describing why the method is not allowed.
-
-