EventException.java :  » Java-3D » robo-cup-soccer3d-framework » org » slf4j » ext » Java Open Source

Java Open Source » Java 3D » robo cup soccer3d framework 
robo cup soccer3d framework » org » slf4j » ext » EventException.java
package org.slf4j.ext;

/**
 * Exception used to identify issues related to an event that is being logged.
 */
public class EventException extends RuntimeException {
  /**
   * Default constructor.
   */
  public EventException() {
    super();
  }

  /**
   * Constructor that allows an exception message.
   * @param exceptionMessage The exception message.
   */
  public EventException(String exceptionMessage) {
    super(exceptionMessage);
  }

  /**
   * Constructor that chains another Exception or Error.
   * @param originalException The original exception.
   */
  public EventException(Throwable originalException) {
    super(originalException);
  }

  /**
   * Constructor that chains another Exception or Error and also allows a message
   * to be specified.
   * @param exceptionMessage The exception message.
   * @param originalException The original excepton.
   */
  public EventException(String exceptionMessage, Throwable originalException) {
    super(exceptionMessage, originalException);
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.