001package org.maltparser.core.propagation; 002 003import org.maltparser.core.exception.MaltChainedException; 004 005/** 006 * PropagationException extends the MaltChainedException class and is thrown by classes 007 * within the propagation package. 008 * 009 * @author Johan Hall 010**/ 011public class PropagationException extends MaltChainedException { 012 public static final long serialVersionUID = 8045568022124816379L; 013 /** 014 * Creates a PropagationException object with a message 015 * 016 * @param message the message 017 */ 018 public PropagationException(String message) { 019 super(message); 020 } 021 /** 022 * Creates a PropagationException object with a message and a cause to the exception. 023 * 024 * @param message the message 025 * @param cause the cause to the exception 026 */ 027 public PropagationException(String message, Throwable cause) { 028 super(message, cause); 029 } 030}