Class RatException

All Implemented Interfaces:
Serializable

public class RatException extends Exception
This exception is used to indicate error conditions during RAT runs.
See Also:
  • Constructor Details

    • RatException

      public RatException()
      Constructor.
    • RatException

      public RatException(String message, Throwable cause)
      Constructor with message and cause.
      Parameters:
      message - an error message to give more context.
      cause - a cause.
    • RatException

      public RatException(String message)
      Constructor with message only.
      Parameters:
      message - an error message to give more context.
    • RatException

      public RatException(Throwable cause)
      Constructor with cause only.
      Parameters:
      cause - a cause.
  • Method Details

    • makeRatException

      public static RatException makeRatException(Exception exception)
      Creates a RatException out of any other type of exception. If the exception is already a RatException, just return it.
      Parameters:
      exception - the exception to convert.
      Returns:
      a RatException.