Class CheckstyleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.puppycrawl.tools.checkstyle.api.CheckstyleException
-
- All Implemented Interfaces:
Serializable
public class CheckstyleException extends Exception
Represents an error condition within Checkstyle.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
For serialization that will never happen.
-
Constructor Summary
Constructors Constructor Description CheckstyleException(String message)
Creates a newCheckstyleException
instance.CheckstyleException(String message, Throwable cause)
Creates a newCheckstyleException
instance that was caused by another exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
For serialization that will never happen.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CheckstyleException
public CheckstyleException(String message)
Creates a newCheckstyleException
instance.- Parameters:
message
- aString
value
-
CheckstyleException
public CheckstyleException(String message, Throwable cause)
Creates a newCheckstyleException
instance that was caused by another exception.- Parameters:
message
- a message that explains this exceptioncause
- the Exception that is wrapped by this exception
-
-