|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.maven.doxia.parser.ParseException
org.apache.maven.doxia.module.apt.AptParseException
Wraps an exception when parsing apt source documents.
| Constructor Summary | |
AptParseException(Exception e)
Constructs a new AptParseException with the specified cause. |
|
AptParseException(String message)
Construct a new AptParseException with the specified detail message. |
|
AptParseException(String message,
AptSource source)
Deprecated. source isn't a safe place to get linenumbers from. |
|
AptParseException(String message,
AptSource source,
Exception e)
Deprecated. source isn't a safe place to get linenumbers from |
|
AptParseException(String message,
Exception e)
Construct a new AptParseException with the specified detail message and cause. |
|
AptParseException(String message,
String name,
int lineNumber,
Exception e)
Construct a new AptParseException with the specified cause, detail message, filename and linenumber. |
|
| Methods inherited from class org.apache.maven.doxia.parser.ParseException |
getFileName, getLineNumber |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 |
public AptParseException(String message,
AptSource source)
message - the error message.source - the AptSource.
public AptParseException(String message,
AptSource source,
Exception e)
message - the error message.source - the AptSource.e - the Exception.
public AptParseException(String message,
String name,
int lineNumber,
Exception e)
message - The detailed message.
This can later be retrieved by the Throwable.getMessage() method.name - Name of a file that couldn't be parsed.
This can later be retrieved by the getFileName() method.lineNumber - The line number where the parsing failed.
This can later be retrieved by the getLineNumber() method.e - the cause. This can be retrieved later by the Throwable.getCause() method.
(A null value is permitted, and indicates that the cause is nonexistent or unknown.)
public AptParseException(String message,
Exception e)
message - The detailed message.
This can later be retrieved by the Throwable.getMessage() method.e - the cause. This can be retrieved later by the Throwable.getCause() method.
(A null value is permitted, and indicates that the cause is nonexistent or unknown.)public AptParseException(String message)
message - The detailed message.
This can later be retrieved by the Throwable.getMessage() method.public AptParseException(Exception e)
e - the cause. This can be retrieved later by the Throwable.getCause() method.
(A null value is permitted, and indicates that the cause is nonexistent or unknown.)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||