Class InvalidMutatorException

All Implemented Interfaces:
Serializable

public class InvalidMutatorException extends ComposerException
This exception is used when a dynamic container fails due to an exception.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • InvalidMutatorException

      public InvalidMutatorException(String mutatorName, String message)
      Constructs the exception with the name of the container and the error message.
      Parameters:
      mutatorName - The name of the dynamic container.
      message - The message of the error.
    • InvalidMutatorException

      public InvalidMutatorException(String mutatorName, Throwable cause)
      Constructs the exception with the name of the container and the error cause.
      Parameters:
      mutatorName - The name of the dynamic container.
      cause - The cause of the error.
  • Method Details

    • getMutatorName

      public String getMutatorName()
      This method returns the name of the dynamic container that failed.
      Returns:
      the name of the dynamic container that failed.