SubmoduleException: Minor cleanup

* Indicate that message should be user-visible.
* Remove unnecessary finals.

Change-Id: Ie826965c1e3675ff2b057cf9202626e15b28d0e7
This commit is contained in:
Dave Borowitz
2017-05-16 20:55:10 -04:00
parent 2b87d7f862
commit e47058e15c

View File

@@ -14,15 +14,19 @@
package com.google.gerrit.server.git;
/** Indicates the gitlink's update cannot be processed at this time. */
/**
* Indicates the gitlink's update cannot be processed at this time.
*
* <p>Message should be considered user-visible.
*/
public class SubmoduleException extends Exception {
private static final long serialVersionUID = 1L;
SubmoduleException(final String msg) {
SubmoduleException(String msg) {
super(msg, null);
}
SubmoduleException(final String msg, final Throwable why) {
SubmoduleException(String msg, Throwable why) {
super(msg, why);
}
}