net.jini.space
Class InternalSpaceException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--net.jini.space.InternalSpaceException
- public class InternalSpaceException
- extends java.lang.RuntimeException
This exception denotes a problem with the local implementation of the
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).
- See Also:
JavaSpace
, Serialized Form
Field Summary |
java.lang.Throwable |
nestedException
The exception (if any) that trigged the internal exception. |
Constructor Summary |
InternalSpaceException(java.lang.String str)
Create an exception, forwarding a string to the superclass constructor. |
InternalSpaceException(java.lang.String str,
java.lang.Throwable ex)
Create an exception, forwarding a string and exception to the
superclass constructor. |
Method Summary |
void |
printStackTrace()
Print the stack trace of this exception, plus that of the nested
exception, if any. |
void |
printStackTrace(java.io.PrintStream out)
Print the stack trace of this exception, plus that of the nested
exception, if any. |
void |
printStackTrace(java.io.PrintWriter out)
Print the stack trace of this exception, plus that of the nested
exception, if any. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
nestedException
public final java.lang.Throwable nestedException
- The exception (if any) that trigged the internal exception. This
may be
null
.
InternalSpaceException
public InternalSpaceException(java.lang.String str)
- Create an exception, forwarding a string to the superclass constructor.
InternalSpaceException
public InternalSpaceException(java.lang.String str,
java.lang.Throwable ex)
- Create an exception, forwarding a string and exception to the
superclass constructor.
printStackTrace
public void printStackTrace()
- Print the stack trace of this exception, plus that of the nested
exception, if any.
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream out)
- Print the stack trace of this exception, plus that of the nested
exception, if any.
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter out)
- Print the stack trace of this exception, plus that of the nested
exception, if any.
- Overrides:
- printStackTrace in class java.lang.Throwable
Copyright © 1999 Sun Microsystems, Inc. All rights reserved