|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> [ api overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.puppycrawl.tools.checkstyle.api
Class CheckstyleException

java.lang.Objectjava.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.
- 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
CheckstyleExceptioninstance.
CheckstyleException
public CheckstyleException(java.lang.String aMessage, java.lang.Throwable aCause)
- Creates a new
CheckstyleExceptioninstance 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.
|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> [ api overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC