blob: 3c8b75c76fd995d299efa49d84e8ab908638a439 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.stem.model.ctdl.functions;
public class FunctionDefinitionException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 1L;
private ExternalFunctionDefinition fd;
public FunctionDefinitionException(String message)
{
this(message,null,null);
}
public FunctionDefinitionException(String message, Throwable parent)
{
this(message, null, parent);
}
public FunctionDefinitionException(String message, ExternalFunctionDefinition fd)
{
this(message,fd,null);
}
public FunctionDefinitionException(String message, ExternalFunctionDefinition fd, Throwable parent)
{
super(message, parent);
this.fd = fd;
}
public ExternalFunctionDefinition getFunctionDefinition()
{
return fd;
}
}