org.apache.cactus.util
class ChainedRuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.apache.cactus.util.ChainedRuntimeException
- All Implemented Interfaces:
- Serializable
- Known Advisors:
- LogAspect
- public class ChainedRuntimeException
- extends java.lang.RuntimeException
Represent an exception that should stop the running test. It is a runtime
exception but it will be caught by JUnit so the application will not stop.
The test will be reported as failed. It implements chaining.
- Version:
- $Id: ChainedRuntimeException.java,v 1.2 2002/05/01 19:52:27 vmassol Exp $
- Author:
- Vincent Massol
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChainedRuntimeException
public ChainedRuntimeException(String theMessage)
ChainedRuntimeException
public ChainedRuntimeException(String theMessage,
Throwable theException)
ChainedRuntimeException
public ChainedRuntimeException(Throwable theException)
printStackTrace
public void printStackTrace()
printStackTrace
public void printStackTrace(PrintStream thePs)
Affected by: around() in LogAspect
.
printStackTrace
public void printStackTrace(PrintWriter thePw)
Affected by: around() in LogAspect
.
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.