jas.util
Class NestedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jas.util.NestedRuntimeException
- All Implemented Interfaces:
- HasNestedException, Serializable
public class NestedRuntimeException
- extends RuntimeException
- implements HasNestedException
- See Also:
- Serialized Form
NestedRuntimeException
public NestedRuntimeException(Throwable ex)
- Create a nested exception with the specified string
NestedRuntimeException
public NestedRuntimeException(String s,
Throwable ex)
- Create a remote exception with the specified string, and the
exception specified.
getNestedException
public Throwable getNestedException()
- Specified by:
getNestedException
in interface HasNestedException
getMessage
public String getMessage()
- Produce the message, include the message from the nested
exception if there is one.
- Specified by:
getMessage
in interface HasNestedException
- Overrides:
getMessage
in class Throwable
getSimpleMessage
public String getSimpleMessage()
- Return just the super classes message
- Specified by:
getSimpleMessage
in interface HasNestedException
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
printStackTrace
in class Throwable
Copyright © 2000-2009 FreeHEP. All Rights Reserved.