com.sun.multicast.util
Class AssertFailedException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.sun.multicast.util.AssertFailedException
- All Implemented Interfaces:
- java.io.Serializable
- public class AssertFailedException
- extends java.lang.RuntimeException
Signals that an assertion failed. That is, a condition
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 |
AssertFailedException()
Creates an AssertFailedException with no detail message. |
AssertFailedException(java.lang.String s)
Creates an AssertFailedException with the specified
detail message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AssertFailedException
public AssertFailedException()
- Creates an
AssertFailedException
with no detail message.
AssertFailedException
public AssertFailedException(java.lang.String s)
- Creates an
AssertFailedException
with the specified
detail message.
- Parameters:
s
- the detail message
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.