package com.idega.data; /** * A cheched Exception thrown when an error occurs on runtime in IDO. * Title: idega Data Objects * Description: Idega Data Objects is a Framework for Object/Relational mapping and seamless integration between datastores * Copyright: Copyright (c) 2002 * Company: idega * @author <a href="mailto:tryggvi@idega.is">Tryggvi Larusson</a> * @version 1.0 */ public class IDOException extends Exception { public IDOException() { super(); } public IDOException(String message) { super(message); } public IDOException(Exception exeption) { this("IDOException - Originally: " + exeption.getClass().getName() + " : " + exeption.getMessage()); } public IDOException(Exception exeption, IDOEntity thrower) { this( "IDOException - Originally: " + exeption.getClass().getName() + " : " + exeption.getMessage() + " : from : " + thrower.getClass().getName()); } }