org.hyperic.util
Class NestedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hyperic.util.NestedRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- InvalidOptionException, InvalidOptionValueException, PluginLoaderException
public class NestedRuntimeException
- extends java.lang.RuntimeException
This is just like NestedException, but it's a RuntimeException.
And here's a classic case for multiple inheritance - or rather
why RuntimeException isn't an interface. But anyway, we get
around that by using containment and delegating all method calls
to our internal NestedException.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NestedRuntimeException
public NestedRuntimeException()
NestedRuntimeException
public NestedRuntimeException(java.lang.String s)
NestedRuntimeException
public NestedRuntimeException(java.lang.Throwable t)
NestedRuntimeException
public NestedRuntimeException(java.lang.String s,
java.lang.Throwable t)
addException
public void addException(java.lang.Throwable t)
getExceptionOfType
public java.lang.Throwable getExceptionOfType(java.lang.Class exceptionType)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream out)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class java.lang.Throwable
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.