Class PMDException

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public class PMDException
    extends Exception
    Deprecated.
    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$, $Date$
    Author:
    Donald A. Leckie
    See Also:
    Serialized Form
    • Constructor Detail

      • PMDException

        public PMDException​(String message)
        Deprecated.
        Creates a new PMD exception with the specified message.
        Parameters:
        message - the message
      • PMDException

        public PMDException​(String message,
                            Exception reason)
        Deprecated.
        Creates a new PMD exception with the specified message and the given reason as root cause.
        Parameters:
        message - the message
        reason - the root cause
    • Method Detail

      • setSeverity

        public void setSeverity​(int severity)
        Deprecated.
      • getSeverity

        public int getSeverity()
        Deprecated.