Class ParserNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.doxia.parser.manager.ParserNotFoundException
-
- All Implemented Interfaces:
Serializable
public class ParserNotFoundException extends Exception
Encapsulate a Doxia exception that indicates that a parser does not exist or could not be found.- Since:
- 1.0
- Author:
- Jason van Zyl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParserNotFoundException(String message)
Construct a new ParserNotFoundException with the specified detail message.ParserNotFoundException(String message, Throwable cause)
Construct a new ParserNotFoundException with the specified detail message and cause.ParserNotFoundException(Throwable cause)
Constructs a new exception with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ParserNotFoundException
public ParserNotFoundException(String message)
Construct a new ParserNotFoundException with the specified detail message.- Parameters:
message
- The detailed message. This can later be retrieved by the Throwable.getMessage() method.
-
ParserNotFoundException
public ParserNotFoundException(Throwable cause)
Constructs a new exception with the specified cause. The error message is (cause == null ? null : cause.toString() ).- Parameters:
cause
- 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.)
-
ParserNotFoundException
public ParserNotFoundException(String message, Throwable cause)
Construct a new ParserNotFoundException with the specified detail message and cause.- Parameters:
message
- The detailed message. This can later be retrieved by the Throwable.getMessage() method.cause
- 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.)
-
-