public class InternalSpaceException extends RuntimeException
JavaSpace interface. The detail field
will give a description that can be reported to the space developer
(and may be documented in that space's external documentation).JavaSpace,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
Throwable |
nestedException
The exception (if any) that triggered the internal exception.
|
| Constructor and Description |
|---|
InternalSpaceException(String str)
Create an exception, forwarding a string to the superclass constructor.
|
InternalSpaceException(String str,
Throwable ex)
Create an exception, forwarding a string and exception to the
superclass constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
printStackTrace()
Print the stack trace of this exception, plus that of the nested
exception, if any.
|
void |
printStackTrace(PrintStream out)
Print the stack trace of this exception, plus that of the nested
exception, if any.
|
void |
printStackTrace(PrintWriter out)
Print the stack trace of this exception, plus that of the nested
exception, if any.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic final Throwable nestedException
null.public InternalSpaceException(String str)
str - a detail messagepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream out)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter out)
printStackTrace in class ThrowableCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.