01: /*
02: * Copyright (C) 2004 Joe Walnes.
03: * Copyright (C) 2006, 2007, 2008 XStream Committers.
04: * All rights reserved.
05: *
06: * The software in this package is published under the terms of the BSD
07: * style license a copy of which has been included with this distribution in
08: * the LICENSE.txt file.
09: *
10: * Created on 14. September 2004 by Joe Walnes
11: */
12: package com.thoughtworks.xstream.core;
13:
14: import com.thoughtworks.xstream.XStreamException;
15:
16: /**
17: * JDK1.3 friendly exception that retains cause.
18: * @deprecated since 1.3, use {@link XStreamException} instead
19: */
20: public abstract class BaseException extends RuntimeException {
21:
22: protected BaseException(String message) {
23: super (message);
24: }
25:
26: public abstract Throwable getCause();
27: }
|