Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.api
Class CheckstyleException  view CheckstyleException download CheckstyleException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.puppycrawl.tools.checkstyle.api.CheckstyleException
All Implemented Interfaces:
java.io.Serializable

public class CheckstyleException
extends java.lang.Exception

Represents an error condition within Checkstyle.

Version:
1.0

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Throwable mCause
          the cause of this exception
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
CheckstyleException(java.lang.String aMessage)
          Creates a new CheckstyleException instance.
CheckstyleException(java.lang.String aMessage, java.lang.Throwable aCause)
          Creates a new CheckstyleException instance that was caused by another exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of this exception, or null if the cause is not known or non-existant.
 java.lang.Throwable initCause(java.lang.Throwable aCause)
          Initializes the cause of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mCause

private java.lang.Throwable mCause
the cause of this exception

Constructor Detail

CheckstyleException

public CheckstyleException(java.lang.String aMessage)
Creates a new CheckstyleException instance.


CheckstyleException

public CheckstyleException(java.lang.String aMessage,
                           java.lang.Throwable aCause)
Creates a new CheckstyleException instance that was caused by another exception.

Method Detail

initCause

public java.lang.Throwable initCause(java.lang.Throwable aCause)
Initializes the cause of this exception. In JDK 1.4 (and later) the cause is printed as part of the exception stacktrace.


getCause

public java.lang.Throwable getCause()
Description copied from class: java.lang.Throwable
Returns the cause of this exception, or null if the cause is not known or non-existant. This cause is initialized by the new constructors, or by calling initCause.