org.codehaus.backport175.compiler.javadoc
Class JavaDocParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.codehaus.backport175.compiler.javadoc.JavaDocParseException
All Implemented Interfaces:
java.io.Serializable

public class JavaDocParseException
extends java.lang.RuntimeException

Thrown when error in parsing of the source code.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
JavaDocParseException(java.lang.String message)
          Sets the message for the exception.
JavaDocParseException(java.lang.String message, java.lang.Throwable throwable)
          Sets the message for the exception and the original exception being wrapped.
 
Method Summary
 void printStackTrace()
          Print the full stack trace, including the original exception.
 void printStackTrace(java.io.PrintStream ps)
          Print the full stack trace, including the original exception.
 void printStackTrace(java.io.PrintWriter pw)
          Print the full stack trace, including the original exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaDocParseException

public JavaDocParseException(java.lang.String message)
Sets the message for the exception.

Parameters:
message - the message

JavaDocParseException

public JavaDocParseException(java.lang.String message,
                             java.lang.Throwable throwable)
Sets the message for the exception and the original exception being wrapped.

Parameters:
message - the detail of the error message
throwable - the original exception
Method Detail

printStackTrace

public void printStackTrace()
Print the full stack trace, including the original exception.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Print the full stack trace, including the original exception.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
ps - the byte stream in which to print the stack trace

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Print the full stack trace, including the original exception.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pw - the character stream in which to print the stack trace