ch.elca.dependency.exception
Class AnalyseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--ch.elca.dependency.exception.AnalyseException
All Implemented Interfaces:
java.io.Serializable

public class AnalyseException
extends java.lang.Exception

Wraps the exceptions that could occur during the analyse of a directory structure containing the java class files.
Because there are many in some cases technical exceptions which do not tell very much to the user, all these exceptions are wrapped in the AnalyseException during the analyse.

Version:
1.0-beta
Author:
Christoph Trutmann
See Also:
Analyzer, Serialized Form

Constructor Summary
AnalyseException()
          Constructor - Calls the constructor of the supperclass with no arguments.
AnalyseException(java.lang.Exception e)
          Constructor with the wrapped exception as an argument.
AnalyseException(java.lang.String msg)
          Constructor with a specific message string.
 
Method Summary
 java.lang.String getMessage()
          Gets the message of the wrapped class and displays it with the standard message of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalyseException

public AnalyseException()
Constructor - Calls the constructor of the supperclass with no arguments.


AnalyseException

public AnalyseException(java.lang.String msg)
Constructor with a specific message string. Calls the corresponding constructor of the superclass.

Parameters:
msg - Message string specified by the user.

AnalyseException

public AnalyseException(java.lang.Exception e)
Constructor with the wrapped exception as an argument.

Parameters:
e - A Eception that is wrapped by this class.
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message of the wrapped class and displays it with the standard message of this exception.

Overrides:
getMessage in class java.lang.Throwable
Returns:
A message string composed of the standard message of this class plus the message of the wrapped Exception.


Copyright © 2003 ELCA Informatique SA. All Rights Reserved.