tim@129: package de.intevation.gnv.geobackend.sde.datasources.exception; tim@129: tim@129: import org.apache.log4j.Logger; tim@129: tim@129: /** tim@129: * The class TechnicalException fulfills the following purposes: tim@129: * tim@129: * @author blume sascha@887: * @author Tim Englich tim@129: */ tim@129: public class TechnicalException extends Exception{ tim@129: tim@129: /** tim@884: * The UID of this Class. tim@884: */ tim@884: private static final long serialVersionUID = -5296559414323169553L; tim@884: tim@884: /** tim@129: * Default Logging instance tim@129: */ tim@129: private static Logger sLogger = Logger.getLogger(TechnicalException.class); tim@129: tim@129: /** tim@129: * Constructs a new exception with null as its detail message. tim@129: * The cause is not initialized, and may subsequently be initialized by a tim@129: * call to {@link #initCause}. tim@129: */ tim@129: public TechnicalException() { tim@129: } tim@129: tim@129: /** tim@129: * Constructs a new exception with the specified detail message. The tim@129: * cause is not initialized, and may subsequently be initialized by tim@129: * a call to {@link #initCause}. tim@129: * tim@129: * @param message the detail message. The detail message is saved for tim@129: * later retrieval by the {@link #getMessage()} method. tim@129: */ tim@129: public TechnicalException(String message) { tim@129: super(message); tim@129: } tim@884: tim@884: /** tim@884: * Constructor tim@884: * @param pCause the Throwable which cause this exception tim@884: */ tim@129: public TechnicalException(Throwable pCause) { tim@129: super(pCause); tim@129: } tim@129: tim@129: /** tim@129: * Constructs a new exception with the specified detail message and tim@129: * cause.

Note that the detail message associated with tim@129: * cause is not automatically incorporated in tim@129: * this exception's detail message. tim@129: * tim@129: * @param message the detail message (which is saved for later retrieval tim@129: * by the {@link #getMessage()} method). tim@129: * @param cause the cause (which is saved for later retrieval by the tim@129: * {@link #getCause()} method). (A null value is tim@129: * permitted, and indicates that the cause is nonexistent or tim@129: * unknown.) tim@129: * @since 1.4 tim@129: */ tim@129: public TechnicalException(String message, Throwable cause) { tim@129: super(message, cause); tim@129: } tim@129: }