com.sun.multicast.util
Class ImpossibleException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.sun.multicast.util.ImpossibleException
All Implemented Interfaces:
java.io.Serializable

public class ImpossibleException
extends java.lang.RuntimeException

Signals that an exception that should never occur has occurred. This exception is a RuntimeException so that it may be thrown without requiring it to be declared.

See Also:
Serialized Form

Constructor Summary
ImpossibleException(java.lang.Exception e)
          Creates an ImpossibleException for the given exception.
 
Method Summary
 java.lang.String getMessage()
          Produce the message, include the message from the internal exception if there is one.
 void printStackTrace()
          Print a stack trace, including the internal exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImpossibleException

public ImpossibleException(java.lang.Exception e)
Creates an ImpossibleException for the given exception.
Parameters:
e - the exception that occurred
Method Detail

getMessage

public java.lang.String getMessage()
Produce the message, include the message from the internal exception if there is one.
Overrides:
getMessage in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Print a stack trace, including the internal exception.
Overrides:
printStackTrace in class java.lang.Throwable


JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.