Class CheckstyleException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CheckstyleException
    extends java.lang.Exception
    Represents an error condition within Checkstyle.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckstyleException​(java.lang.String message)
      Creates a new CheckstyleException instance.
      CheckstyleException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new CheckstyleException 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CheckstyleException

        public CheckstyleException​(java.lang.String message)
        Creates a new CheckstyleException instance.
        Parameters:
        message - a String value
      • CheckstyleException

        public CheckstyleException​(java.lang.String message,
                                   java.lang.Throwable cause)
        Creates a new CheckstyleException instance that was caused by another exception.
        Parameters:
        message - a message that explains this exception
        cause - the Exception that is wrapped by this exception