TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.util.java
Class ExceptionContainer

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.tptp.platform.analysis.util.java.ExceptionContainer
All Implemented Interfaces:
java.io.Serializable

public class ExceptionContainer
extends java.lang.Exception

ExceptionContainer

See Also:
Serialized Form

Constructor Summary
ExceptionContainer()
          Constructor.
ExceptionContainer(java.lang.Throwable first)
          Constructor.
 
Method Summary
 void add(java.lang.Throwable e)
          Add an exception.
 java.util.Iterator exceptions()
          Get the exceptions.
 int getExceptionCount()
          Get the exceptions count.
 java.lang.String getLocalizedMessage()
          Get the localized message.
 java.lang.String getMessage()
          Get the message.
 void printStackTrace()
          Print stack trace.
 void printStackTrace(java.io.PrintStream pw)
          Print stack trace.
 void printStackTrace(java.io.PrintWriter pw)
          Print stack trace.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionContainer

public ExceptionContainer(java.lang.Throwable first)
Constructor.

Parameters:
first -

ExceptionContainer

public ExceptionContainer()
Constructor.

Method Detail

add

public void add(java.lang.Throwable e)
Add an exception.

Parameters:
e -

getExceptionCount

public int getExceptionCount()
Get the exceptions count.

Returns:

exceptions

public java.util.Iterator exceptions()
Get the exceptions.

Returns:

getMessage

public java.lang.String getMessage()
Get the message.


getLocalizedMessage

public java.lang.String getLocalizedMessage()
Get the localized message.


printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Print stack trace.


printStackTrace

public void printStackTrace(java.io.PrintStream pw)
Print stack trace.


printStackTrace

public void printStackTrace()
Print stack trace.


TPTP 4.2.0 Platform Project
Public API Specification