Package com.linecorp.centraldogma.common
Class RedundantChangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.centraldogma.common.CentralDogmaException
com.linecorp.centraldogma.common.RedundantChangeException
- All Implemented Interfaces:
Serializable
A
CentralDogmaException
that is raised when attempted to push a commit without effective changes.- See Also:
-
Constructor Summary
ConstructorDescriptionRedundantChangeException
(Revision headRevision, String message) Creates a new instance.RedundantChangeException
(String message) Creates a new instance.RedundantChangeException
(String message, boolean writableStackTrace) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the head revision of the repository when this exception was raised.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RedundantChangeException
Creates a new instance. -
RedundantChangeException
Creates a new instance. -
RedundantChangeException
Creates a new instance.- Parameters:
message
- the detail messagewritableStackTrace
- whether or not the stack trace should be writable
-
-
Method Details
-
headRevision
Returns the head revision of the repository when this exception was raised.
-