|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.maven.MavenException
The base class for all exceptions thrown by MavenSession.
Constructor Summary | |
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. |
Method Summary | |
java.lang.Throwable |
getException()
Returns the nested exception, if any. |
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 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
.Method Detail |
public java.lang.Throwable getException()
null
if no
exception is associated with this one
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |