Class GenerationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.roanh.gmark.exception.GenerationException
All Implemented Interfaces:
Serializable

public class GenerationException extends Exception
Exception thrown when something goes wrong when randomly generating something.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial ID.
      See Also:
  • Constructor Details

    • GenerationException

      public GenerationException(String reason)
      Constructs a new generation exception with the given reason.
      Parameters:
      reason - The exception reason.
    • GenerationException

      public GenerationException(String reason, Throwable cause)
      Constructs a new generation exception with the given reason and cause.
      Parameters:
      reason - The exception reason.
      cause - The original exception.
  • Method Details