Class RedundantChangeException

All Implemented Interfaces:
Serializable

public class RedundantChangeException extends CentralDogmaException
A CentralDogmaException that is raised when attempted to push a commit without effective changes.
See Also:
  • Constructor Details

    • RedundantChangeException

      public RedundantChangeException(String message)
      Creates a new instance.
    • RedundantChangeException

      public RedundantChangeException(Revision headRevision, String message)
      Creates a new instance.
    • RedundantChangeException

      public RedundantChangeException(String message, boolean writableStackTrace)
      Creates a new instance.
      Parameters:
      message - the detail message
      writableStackTrace - whether or not the stack trace should be writable
  • Method Details

    • headRevision

      @Nullable public Revision headRevision()
      Returns the head revision of the repository when this exception was raised.