jas2.util
Class NestedRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jas2.util.NestedRuntimeException
-
- All Implemented Interfaces:
- HasNestedException, java.io.Serializable
public class NestedRuntimeException extends java.lang.RuntimeException implements HasNestedException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NestedRuntimeException(java.lang.String s, java.lang.Throwable ex)Create a remote exception with the specified string, and the exception specified.NestedRuntimeException(java.lang.Throwable ex)Create a nested exception with the specified string
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetMessage()Produce the message, include the message from the nested exception if there is one.java.lang.ThrowablegetNestedException()java.lang.StringgetSimpleMessage()Return just the super classes messagevoidprintStackTrace()voidprintStackTrace(java.io.PrintStream s)voidprintStackTrace(java.io.PrintWriter s)
-
-
-
Constructor Detail
-
NestedRuntimeException
public NestedRuntimeException(java.lang.Throwable ex)
Create a nested exception with the specified string
-
NestedRuntimeException
public NestedRuntimeException(java.lang.String s, java.lang.Throwable ex)Create a remote exception with the specified string, and the exception specified.
-
-
Method Detail
-
getNestedException
public java.lang.Throwable getNestedException()
- Specified by:
getNestedExceptionin interfaceHasNestedException
-
getMessage
public java.lang.String getMessage()
Produce the message, include the message from the nested exception if there is one.- Specified by:
getMessagein interfaceHasNestedException- Overrides:
getMessagein classjava.lang.Throwable
-
getSimpleMessage
public java.lang.String getSimpleMessage()
Return just the super classes message- Specified by:
getSimpleMessagein interfaceHasNestedException
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTracein classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTracein classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTracein classjava.lang.Throwable
-
-
DataMelt 3.0 © DataMelt by jWork.ORG