Author: athimel Date: 2012-05-30 10:52:02 +0200 (Wed, 30 May 2012) New Revision: 2564 Url: http://nuiton.org/repositories/revision/topia/2564 Log: Revert TopiaRuntimeException deletion, better deprecate it Added: trunk/topia-persistence/src/main/java/org/nuiton/topia/TopiaRuntimeException.java Added: trunk/topia-persistence/src/main/java/org/nuiton/topia/TopiaRuntimeException.java =================================================================== --- trunk/topia-persistence/src/main/java/org/nuiton/topia/TopiaRuntimeException.java (rev 0) +++ trunk/topia-persistence/src/main/java/org/nuiton/topia/TopiaRuntimeException.java 2012-05-30 08:52:02 UTC (rev 2564) @@ -0,0 +1,80 @@ +/* + * #%L + * ToPIA :: Persistence + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + +package org.nuiton.topia; + +/** + * Runtime exception for ToPIA. <u>Was</u> useful as TopiaException <u>was</u> + * technical and checked. + * + * @author chatellier <chatellier@codelutin.com> + * @version $Id$ + * @deprecated Not used anymore, please use TopiaException. Will be removed in + * a future version. + */ +@Deprecated +public class TopiaRuntimeException extends TopiaException { + + /** + * Version UID + */ + private static final long serialVersionUID = 4706337137948838375L; + + /** + * Default constructor. + */ + public TopiaRuntimeException() { + } + + /** + * Constructor with {@code message}. + * + * @param message exception message + */ + public TopiaRuntimeException(String message) { + super(message); + } + + /** + * Constructor for a wrapped TopiaRuntimeException over a {@code cause} + * with a {@code message}. + * + * @param message exception message + * @param cause exception cause + */ + public TopiaRuntimeException(String message, Throwable cause) { + super(message, cause); + } + + /** + * Constructor for a wrapped TopiaRuntimeException over a {@code cause}. + * + * @param cause exception cause + */ + public TopiaRuntimeException(Throwable cause) { + super(cause); + } + +} Property changes on: trunk/topia-persistence/src/main/java/org/nuiton/topia/TopiaRuntimeException.java ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native
participants (1)
-
athimelï¼ users.nuiton.org