org.apache.hadoop.hive.ql.util.jdbm.helper
Class WrappedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.hadoop.hive.ql.util.jdbm.helper.WrappedRuntimeException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IterationException
public class WrappedRuntimeException
- extends RuntimeException
A run-time exception that wraps another exception. The printed stack trace
will be that of the wrapped exception.
- Version:
- $Id: WrappedRuntimeException.java,v 1.1 2002/05/31 06:33:20 boisvert
Exp $
- Author:
- Alex Boisvert
- See Also:
- Serialized Form
WrappedRuntimeException
public WrappedRuntimeException(String message,
Exception except)
- Constructs a new runtime exception based on a checked exception.
- Parameters:
message
- The error messageexcept
- The checked exception
WrappedRuntimeException
public WrappedRuntimeException(Exception except)
- Constructs a new runtime exception based on a checked exception.
- Parameters:
except
- The checked exception
getException
public Exception getException()
- Returns the exception wrapped by this runtime exception.
- Returns:
- The exception wrapped by this runtime exception
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream stream)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter writer)
- Overrides:
printStackTrace
in class Throwable
Copyright © 2010 The Apache Software Foundation