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.- Author:
- Oliver Burn
- See Also:
- Serialized Form
-
-
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
-
-
-
-
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
-
-