com.sun.jini.mercury
Class InternalMailboxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sun.jini.mercury.InternalMailboxException
All Implemented Interfaces:
Serializable

public class InternalMailboxException
extends RuntimeException

This exception denotes a problem with the local implementation of the EventMailbox interface. The detail field will give a description that can be reported to the mailbox developer (and may be documented in that mailbox's external documentation).

Since:
1.1
Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Field Summary
 Throwable nestedException
          The exception (if any) that triggered the internal exception.
 
Constructor Summary
InternalMailboxException(String str)
          Create an exception, passing the string to the superclass' constructor.
InternalMailboxException(String str, Throwable ex)
          Create an exception, passing the string to the superclass' constructor.
 
Method Summary
 void printStackTrace()
          Print the stack trace of this exception and that of the nested exception, if any.
 void printStackTrace(PrintStream out)
          Print the stack trace of this exception and that of the nested exception, if any.
 void printStackTrace(PrintWriter out)
          Print the stack trace of this exception and that of the nested exception, if any.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nestedException

public final Throwable nestedException
The exception (if any) that triggered the internal exception. This field may be null.

Constructor Detail

InternalMailboxException

public InternalMailboxException(String str)
Create an exception, passing the string to the superclass' constructor. The nested exception will be null.


InternalMailboxException

public InternalMailboxException(String str,
                                Throwable ex)
Create an exception, passing the string to the superclass' constructor. The nested exception will be set to the provided Throwable argument.

Method Detail

printStackTrace

public void printStackTrace()
Print the stack trace of this exception and that of the nested exception, if any.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream out)
Print the stack trace of this exception and that of the nested exception, if any.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter out)
Print the stack trace of this exception and that of the nested exception, if any.

Overrides:
printStackTrace in class Throwable


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.