Class CheckstyleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.puppycrawl.tools.checkstyle.api.CheckstyleException
-
- All Implemented Interfaces:
java.io.Serializable
public class CheckstyleException extends java.lang.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(java.lang.String message)
Creates a newCheckstyleException
instance.CheckstyleException(java.lang.String message, java.lang.Throwable cause)
Creates a newCheckstyleException
instance that was caused by another exception.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
For serialization that will never happen.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CheckstyleException
public CheckstyleException(java.lang.String message)
Creates a newCheckstyleException
instance.- Parameters:
message
- aString
value
-
CheckstyleException
public CheckstyleException(java.lang.String message, java.lang.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
-
-