001 /*
002 @license.text@
003 */
004 package biz.hammurapi;
005
006 /**
007 * @author Pavel Vlasov
008 * @version $Revision: 1.2 $
009 */
010 public class RuntimeException extends java.lang.RuntimeException {
011
012 /**
013 * Comment for <code>serialVersionUID</code>
014 */
015 private static final long serialVersionUID = 5866137119821019061L;
016
017 public RuntimeException() {
018 super();
019 }
020
021 public RuntimeException(String message) {
022 super(message);
023 }
024
025 public RuntimeException(Throwable cause) {
026 // TODO Switch to select 1.3 or 1.4
027 super(Exception.rootCause(cause), cause);
028 }
029
030 public RuntimeException(String message, Throwable cause) {
031 // TODO Switch to select 1.3 or 1.4
032 super(message+Exception.rootCause(cause), cause);
033 }
034
035 }