de.uni_paderborn.fujaba.codegen
Class CodeGenException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byde.uni_paderborn.fujaba.codegen.CodeGenException
All Implemented Interfaces:
java.io.Serializable

public class CodeGenException
extends java.lang.RuntimeException

Version:
$Revision: 1.2.2.1 $ $Date: 2005/10/27 18:27:40 $
Author:
christian.schneider@uni-kassel.de
See Also:
Serialized Form

Constructor Summary
CodeGenException()
          Constructs a new runtime exception with null as its detail message.
 
Method Summary
 boolean addToExceptions(java.lang.Exception value)
          Access method for a To N-association.
 java.lang.Throwable getCause()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 boolean hasInExceptions(java.lang.Exception value)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfExceptions()
          No comment provided by developer, please add a comment to improve documentation.
 void printStackTrace()
          Prints the stack trace of this throwable.
 void removeAllFromExceptions()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromExceptions(java.lang.Exception value)
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfExceptions()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodeGenException

public CodeGenException()
Constructs a new runtime exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause().

Method Detail

getCause

public java.lang.Throwable getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown. (The cause is the throwable that caused this throwable to get thrown.)

This implementation returns the cause that was supplied via one of the constructors requiring a Throwable, or that was set after creation with the Throwable.initCause(Throwable) method. While it is typically unnecessary to override this method, a subclass can override it to return a cause set by some other means. This is appropriate for a "legacy chained throwable" that predates the addition of chained exceptions to Throwable. Note that it is not necessary to override any of the PrintStackTrace methods, all of which invoke the getCause method to determine the cause of a throwable.

Returns:
the cause of this throwable or null if the cause is nonexistent or unknown.
Since:
1.4

addToExceptions

public boolean addToExceptions(java.lang.Exception value)
Access method for a To N-association.

Parameters:
value - The object added.
Returns:
No description provided

hasInExceptions

public boolean hasInExceptions(java.lang.Exception value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

iteratorOfExceptions

public java.util.Iterator iteratorOfExceptions()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

removeAllFromExceptions

public void removeAllFromExceptions()
No comment provided by developer, please add a comment to improve documentation.


removeFromExceptions

public boolean removeFromExceptions(java.lang.Exception value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

sizeOfExceptions

public int sizeOfExceptions()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

getMessage

public java.lang.String getMessage()
Returns the detail message string of this throwable.

Returns:
the detail message string of this Throwable instance (which may be null).

printStackTrace

public void printStackTrace()
Prints the stack trace of this throwable.