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: 5681 $, $Date: 2007-11-30 14:00:56 -0800 (Fri, 30 Nov 2007) $

Author: Donald A. Leckie

Constructor Summary
PMDException(String message)
PMDException(String message, Exception reason)
Method Summary
intgetSeverity()
voidsetSeverity(int severity)

Constructor Detail

PMDException

public PMDException(String message)

PMDException

public PMDException(String message, Exception reason)

Method Detail

getSeverity

public int getSeverity()

setSeverity

public void setSeverity(int severity)