com.bigzip
Class EncapsulatedRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.bigzip.EncapsulatedRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class EncapsulatedRuntimeException
extends java.lang.RuntimeException

The purpose of the EncapsulatedRuntimeExcpetion is to 're-package' an exception as a runtime exception and evoke the critical exception dialog box.

A plugin typically uses this exception when it encounters an exception that wouldn't have been generated as part of the plugin's typical/excpetional processing. Therefore, this mechanisim for handling the excpetion should only be a last resort due.

After the critical excpetion dialog is dismised, BiGZiP will terminate.

See Also:
Serialized Form

Constructor Summary
EncapsulatedRuntimeException(java.lang.Throwable exception)
           
 
Method Summary
 java.lang.String getLocalizedMessage()
           
 java.lang.String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncapsulatedRuntimeException

public EncapsulatedRuntimeException(java.lang.Throwable exception)
Method Detail

getLocalizedMessage

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

getMessage

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

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable

toString

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