net.sourceforge.pmd

Class PMDException

public class PMDException extends Exception

A convenience exception wrapper. Contains the original exception, if any. Also, contains a severity number (int). Zero implies no severity. The higher the number the greater the severity.

Since: August 30, 2002

Version: $Revision: 4217 $, $Date: 2006-02-10 15:15:31 +0100 (Fri, 10 Feb 2006) $

Author: Donald A. Leckie

Constructor Summary
PMDException(String message)
PMDException(String message, Exception reason)
Method Summary
ExceptiongetReason()
intgetSeverity()
voidprintStackTrace()
voidprintStackTrace(PrintStream s)
voidprintStackTrace(PrintWriter s)
voidsetSeverity(int severity)

Constructor Detail

PMDException

public PMDException(String message)

PMDException

public PMDException(String message, Exception reason)

Method Detail

getReason

public Exception getReason()

getSeverity

public int getSeverity()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)

setSeverity

public void setSeverity(int severity)