All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.deliveredtechnologies.rulebook.model.RuleException Maven / Gradle / Ivy

There is a newer version: 0.12
Show newest version
package com.deliveredtechnologies.rulebook.model;

/**
 * Runtime exception to wrap Rule exceptions.
 * This exception exists for two reasons:
 * 
    *
  1. It denotes that the exception happened in a Rule.
  2. *
  3. It allows exceptions to be thrown from a Rule without changing the interface.
  4. *
*/ public class RuleException extends RuntimeException { /** * Create a RuleException with an exception message. * @param message exception message */ public RuleException(String message) { super(message); } /** * Create a RuleException with an exception message and a cause (the originating Throwable exception). * @param message exception message * @param cause the originating Throwable exception */ public RuleException(String message, Throwable cause) { super(message, cause); } /** * Create a RuleException using the originating Throwable exception. * @param cause the originating Throwable exception */ public RuleException(Throwable cause) { super(cause); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy