Merge "Don't treat MergeIdenticalTreeException as internal server error"
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
|
||||
package com.google.gerrit.server.git;
|
||||
|
||||
import com.google.gerrit.extensions.restapi.RestApiException;
|
||||
import com.google.gerrit.extensions.restapi.ResourceConflictException;
|
||||
|
||||
/**
|
||||
* Indicates that the commit is already contained in destination branch. Either the commit itself is
|
||||
* in the source tree, or the content is merged
|
||||
*/
|
||||
public class MergeIdenticalTreeException extends RestApiException {
|
||||
public class MergeIdenticalTreeException extends ResourceConflictException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** @param msg message to return to the client describing the error. */
|
||||
|
||||
Reference in New Issue
Block a user