org.apache.maven.doxia
Class UnsupportedFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.doxia.UnsupportedFormatException
- All Implemented Interfaces:
- Serializable
public class UnsupportedFormatException
- extends Exception
Wrap an exception that occurs if a format is not supported.
- Version:
- $Id: UnsupportedFormatException.java 697523 2008-09-21 14:29:09Z vsiveton $
- Author:
- Vincent Siveton
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnsupportedFormatException
public UnsupportedFormatException(String format,
String[] supportedFormat)
- Constructs an UnsupportedFormatException with the specified
detail message.
- Parameters:
format - the unsupported format, not nullsupportedFormat - the supported formats, not null
UnsupportedFormatException
public UnsupportedFormatException(String format,
String[] supportedFormat,
Throwable cause)
- Construct a new UnsupportedFormatException with the specified
detail message and cause.
- Parameters:
format - the unsupported format, not nullsupportedFormat - the supported formats, not null
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.)
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.