Class BadRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.gerrit.extensions.restapi.RestApiException
-
- com.google.gerrit.extensions.restapi.BadRequestException
-
- All Implemented Interfaces:
Serializable
public class BadRequestException extends RestApiException
Request could not be parsed as sent (HTTP 400 Bad Request).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadRequestException(String msg)
BadRequestException(String msg, Throwable cause)
-
Method Summary
-
Methods inherited from class com.google.gerrit.extensions.restapi.RestApiException
caching, setCaching, wrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadRequestException
public BadRequestException(String msg)
- Parameters:
msg
- error text for client describing how request is bad.
-
-