webfunds.utils
Class Panic

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--webfunds.utils.Panic

public final class Panic
extends java.lang.Error

A Panic object can be thrown when a non-recoverable error occurs and the application requires a clean and immediate shutdown. For now the Panic error will execute System.exit(1) upon construction. In the future we may catch Panic in main(...) and do the exit there. XXX: We may want to extend Throwable instead of Error but Jikes doesn't really grok that.

See Also:
Serialized Form

Constructor Summary
Panic(java.lang.String msg)
           
 
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
 

Constructor Detail

Panic

public Panic(java.lang.String msg)