org.codehaus.cargo.util
Class CargoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codehaus.cargo.util.CargoException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ContainerException, MergeException
public class CargoException
- extends RuntimeException
Base exception class for all Cargo classes.
- Version:
- $Id: CargoException.java 1705 2008-09-02 13:14:55Z adriana $
- See Also:
- Serialized Form
CargoException
public CargoException(String message)
- Parameters:
message
- the exception message
CargoException
public CargoException(String message,
Throwable throwable)
- Parameters:
message
- the exception messagethrowable
- the exception to wrap
getOriginalThrowable
public Throwable getOriginalThrowable()
- Returns:
- the wrapped exception
printStackTrace
public void printStackTrace()
- Print the full stack trace, including the original exception.
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream ps)
- Print the full stack trace, including the original exception.
- Overrides:
printStackTrace
in class Throwable
- Parameters:
ps
- the byte stream in which to print the stack trace
printStackTrace
public void printStackTrace(PrintWriter pw)
- Print the full stack trace, including the original exception.
- Overrides:
printStackTrace
in class Throwable
- Parameters:
pw
- the character stream in which to print the stack trace
Copyright © 2004-2012 Codehaus. All Rights Reserved.