Package net.sourceforge.pmd
Class RuleSetLoadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sourceforge.pmd.RuleSetLoadException
-
- All Implemented Interfaces:
Serializable
public final class RuleSetLoadException extends RuntimeException
An exception that is thrown when something wrong occurs while loading rulesets. This may be because the XML is not well-formed, does not respect the ruleset schema, is not a valid ruleset or is otherwise unparsable.In the new
RuleSetLoader
API, this is thrown instead ofRuleSetNotFoundException
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuleSetLoadException(String message)
Constructors are internal.RuleSetLoadException(String message, Throwable cause)
Constructors are internal.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RuleSetLoadException
@InternalApi public RuleSetLoadException(String message, Throwable cause)
Constructors are internal.
-
RuleSetLoadException
@InternalApi public RuleSetLoadException(String message)
Constructors are internal.
-
-