java.io.Serializable
public class PMDException
extends java.lang.Exception
Constructor | Description |
---|---|
PMDException(java.lang.String message) |
Creates a new PMD exception with the specified message.
|
PMDException(java.lang.String message,
java.lang.Exception reason) |
Creates a new PMD exception with the specified message and the given
reason as root cause.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getSeverity() |
|
void |
setSeverity(int severity) |
public PMDException(java.lang.String message)
message
- the messagepublic PMDException(java.lang.String message, java.lang.Exception reason)
message
- the messagereason
- the root causeCopyright © 2002–2018 PMD. All rights reserved.