|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
hudson.plugins.covcomplplot.stub.InvalidHudsonProjectException
public class InvalidHudsonProjectException
Invalid Jenkins Project Exception.
This exception is used to minimize the count of exception classes which shows different message.
When the constructor is invoked, the appropriate enum value is passed to specify the exact error.
Constructor Summary | |
---|---|
InvalidHudsonProjectException(InvalidHudsonProjectType invalidHudsonProjectType,
Object... args)
Constructor |
|
InvalidHudsonProjectException(InvalidHudsonProjectType invalidHudsonProjectType,
Throwable throwable,
Object... args)
Constructor |
Method Summary | |
---|---|
InvalidHudsonProjectType |
getInvalidHudsonProjectType()
Get exception type. |
String |
getLogMessage()
Get message constructed from InvalidHudsonProjectType . |
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 InvalidHudsonProjectException(InvalidHudsonProjectType invalidHudsonProjectType, Object... args)
invalidHudsonProjectType
- exception type.args
- arguments which InvalidHudsonProjectType
needs.public InvalidHudsonProjectException(InvalidHudsonProjectType invalidHudsonProjectType, Throwable throwable, Object... args)
invalidHudsonProjectType
- exception typethrowable
- internal exceptionargs
- arguments which InvalidHudsonProjectType
needs.Method Detail |
---|
public String getLogMessage()
InvalidHudsonProjectType
.
public InvalidHudsonProjectType getInvalidHudsonProjectType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |