public class AptParseException extends org.apache.maven.doxia.parser.ParseException
Constructor and Description |
---|
AptParseException(Exception e)
Construct a new AptParseException with the cause.
|
AptParseException(String message)
Construct a new AptParseException with the specified detail message.
|
AptParseException(String message,
Exception e)
Construct a new AptParseException with the specified detail message and cause.
|
AptParseException(String message,
Exception e,
int line,
int column)
Construct a new AptParseException with the specified detail message and cause.
|
AptParseException(String message,
Exception e,
String name,
int line,
int column)
Construct a new AptParseException with the specified cause, detail message,
filename, line number and column number.
|
getColumnNumber, getFileName, getLineNumber
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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.)public AptParseException(String message)
message
- The detailed message.
This can later be retrieved by the Throwable.getMessage()
method.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, Exception e, String name, int line, int column)
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.)name
- Name of a file that couldn't be parsed.
This can later be retrieved by the getFileName() method.line
- The line number where the parsing failed.
This can later be retrieved by the getLineNumber() method.column
- The column number where the parsing failed.
This can later be retrieved by the getColumnNumber() method.public AptParseException(String message, Exception e, int line, int column)
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.)line
- The line number where the parsing failed.
This can later be retrieved by the getLineNumber() method.column
- The column number where the parsing failed.
This can later be retrieved by the getColumnNumber() method.Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.