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