ch.elca.dependency.report
Class ReportException

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

public class ReportException
extends java.lang.Exception

ReportException will be thrown in case of Exceptios in the ch.elca.dependency.report package.

Version:
1.0-beta
Author:
Pawel Kowalski
See Also:
Serialized Form

Field Summary
static java.lang.String ANALYZE_ERROR
          Exception message: ANALYZE_ERROR.
static java.lang.String CONFIG_NOT_AVAILABLE
          Exception message: CONFIG_NOT_AVAILABLE.
static java.lang.String COULD_NOT_ADD_REPORT_INFO
          Exception message: COULD_NOT_ADD_REPORT_INFO.
static java.lang.String COULD_NOT_SET_FORMATTER
          Exception message: COULD_NOT_SET_FORMATTER.
static java.lang.String COULD_NOT_SET_HANDLER
          Exception message: COULD_NOT_SET_HANDLER.
static java.lang.String COULD_NOT_WRITE_REPORT
          Exception message: COULD_NOT_WRITE_REPORT.
static java.lang.String CREATING_DEFAULT_REPORT_FAILED
          Exception message: CREATING_DEFAULT_REPORT_FAILED.
static java.lang.String INVALID_ARGUMENTS
          Exception message: INVALID_ARGUMENTS.
static java.lang.String INVALID_ROOT
          Exception message: INVALID_ROOT.
static java.lang.String RULES_NOT_AVAILABLE
          Exception message: RULES_NOT_AVAILABLE.
static java.lang.String UNKNOWN_FAILURE
          Exception message: UNKNOWN_FAILURE.
 
Constructor Summary
ReportException(java.lang.String problemMessage)
          Creates a new ReportException instance.
ReportException(java.lang.String problemMessage, java.lang.String causeMessage)
          Creates a new ReportException instance.
ReportException(java.lang.String problemMessage, java.lang.String causeMessage, java.lang.Throwable wrappedException)
          Creates a new ReportException instance.
ReportException(java.lang.String problemMessage, java.lang.Throwable wrappedException)
          Creates a new ReportException instance.
 
Method Summary
 java.lang.String getCauseMessage()
          Get the cause message associated with this ReportException
 java.lang.String getMessage()
          Get the message associated with this ReportException
 java.lang.String getProblemMessage()
          Get the problem message associated with this ReportException
 java.lang.Throwable getWrappedException()
          Get the Exception wrapped within this ReportException.
 
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
 

Field Detail

INVALID_ARGUMENTS

public static final java.lang.String INVALID_ARGUMENTS
Exception message: INVALID_ARGUMENTS.

See Also:
Constant Field Values

INVALID_ROOT

public static final java.lang.String INVALID_ROOT
Exception message: INVALID_ROOT.

See Also:
Constant Field Values

ANALYZE_ERROR

public static final java.lang.String ANALYZE_ERROR
Exception message: ANALYZE_ERROR.

See Also:
Constant Field Values

RULES_NOT_AVAILABLE

public static final java.lang.String RULES_NOT_AVAILABLE
Exception message: RULES_NOT_AVAILABLE.

See Also:
Constant Field Values

CONFIG_NOT_AVAILABLE

public static final java.lang.String CONFIG_NOT_AVAILABLE
Exception message: CONFIG_NOT_AVAILABLE.

See Also:
Constant Field Values

UNKNOWN_FAILURE

public static final java.lang.String UNKNOWN_FAILURE
Exception message: UNKNOWN_FAILURE.

See Also:
Constant Field Values

COULD_NOT_WRITE_REPORT

public static final java.lang.String COULD_NOT_WRITE_REPORT
Exception message: COULD_NOT_WRITE_REPORT.

See Also:
Constant Field Values

COULD_NOT_SET_HANDLER

public static final java.lang.String COULD_NOT_SET_HANDLER
Exception message: COULD_NOT_SET_HANDLER.

See Also:
Constant Field Values

COULD_NOT_SET_FORMATTER

public static final java.lang.String COULD_NOT_SET_FORMATTER
Exception message: COULD_NOT_SET_FORMATTER.

See Also:
Constant Field Values

COULD_NOT_ADD_REPORT_INFO

public static final java.lang.String COULD_NOT_ADD_REPORT_INFO
Exception message: COULD_NOT_ADD_REPORT_INFO.

See Also:
Constant Field Values

CREATING_DEFAULT_REPORT_FAILED

public static final java.lang.String CREATING_DEFAULT_REPORT_FAILED
Exception message: CREATING_DEFAULT_REPORT_FAILED.

See Also:
Constant Field Values
Constructor Detail

ReportException

public ReportException(java.lang.String problemMessage)
Creates a new ReportException instance.

Parameters:
problemMessage - a String value

ReportException

public ReportException(java.lang.String problemMessage,
                       java.lang.Throwable wrappedException)
Creates a new ReportException instance.

Parameters:
problemMessage - a String value
wrappedException - a Throwable value

ReportException

public ReportException(java.lang.String problemMessage,
                       java.lang.String causeMessage)
Creates a new ReportException instance.

Parameters:
problemMessage - a String value
causeMessage - a String value

ReportException

public ReportException(java.lang.String problemMessage,
                       java.lang.String causeMessage,
                       java.lang.Throwable wrappedException)
Creates a new ReportException instance.

Parameters:
problemMessage - a String value
causeMessage - a String value
wrappedException - a Throwable value
Method Detail

getProblemMessage

public java.lang.String getProblemMessage()
Get the problem message associated with this ReportException

Returns:
a String value

getCauseMessage

public java.lang.String getCauseMessage()
Get the cause message associated with this ReportException

Returns:
a String value

getMessage

public java.lang.String getMessage()
Get the message associated with this ReportException

Overrides:
getMessage in class java.lang.Throwable
Returns:
a String value

getWrappedException

public java.lang.Throwable getWrappedException()
Get the Exception wrapped within this ReportException.

Returns:
a Throwable value


Copyright © 2003 ELCA Informatique SA. All Rights Reserved.