java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.brantunger.unruly.api.exception.UnrulyException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidExpressionException, RuleCompilationException, RuleExecutionException

public class UnrulyException extends RuntimeException
The base runtime exception for the Unruly engine.
See Also:
  • Constructor Details

    • UnrulyException

      public UnrulyException(@Nullable String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - The detail message
    • UnrulyException

      public UnrulyException(@Nullable String message, @Nullable Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The detail message
      cause - The cause