Bees v0.5.0 API

bees.core
Class Panic

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--bees.core.Panic
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
KernelPanic

public class Panic
extends java.lang.Error

Error thrown when there is an internal error.

See Also:
Serialized Form

Constructor Summary
Panic(java.lang.String msg)
          Construct a Panic object with the given values.
Panic(java.lang.String msg, java.lang.Throwable cause)
          Construct a Panic object with the given values.
Panic(java.lang.Throwable cause)
          Construct a Panic object with the given values.
 
Method Summary
 java.lang.Throwable getThrowable()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Panic

public Panic(java.lang.String msg)
Construct a Panic object with the given values.
Parameters:
msg - The message to pass up to Throwable.

Panic

public Panic(java.lang.Throwable cause)
Construct a Panic object with the given values.
Parameters:
cause - The Throwable object that caused the problem.

Panic

public Panic(java.lang.String msg,
             java.lang.Throwable cause)
Construct a Panic object with the given values.
Parameters:
msg - The message to pass up to Throwable.
cause - The Throwable object that caused the problem.
Method Detail

getThrowable

public java.lang.Throwable getThrowable()
Returns:
The Throwable object that caused the problem.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/