public class MavenException
extends java.lang.Exception
| Constructor and Description |
|---|
MavenException()
Creates a new instance of
MavenException without detail
message. |
MavenException(java.lang.String msg)
Constructs an instance of
MavenException with the specified
detail message. |
MavenException(java.lang.String message,
java.lang.Throwable cause)
Constructs an exception with the given message and exception as
a root cause.
|
MavenException(java.lang.Throwable cause)
Constructs an exception with the given exception as a root cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getException()
Returns the nested exception, if any.
|
public MavenException()
MavenException without detail
message.public MavenException(java.lang.String msg)
MavenException with the specified
detail message.msg - the detail message.public MavenException(java.lang.String message,
java.lang.Throwable cause)
message - A description of or information about the exception.
Should not be null unless a cause is specified.cause - The exception that might have caused this one.
May be null.public MavenException(java.lang.Throwable cause)
cause - The exception that might have caused this one.
Should not be null.Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.