Package hudson.util
Class IncompatibleAntVersionDetected
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- hudson.util.ErrorObject
-
- hudson.util.BootFailure
-
- hudson.util.IncompatibleAntVersionDetected
-
- All Implemented Interfaces:
Serializable
public class IncompatibleAntVersionDetected extends BootFailure
Model object used to display the error top page if we find out that the container is picking up its own Ant and that's not 1.7.index.jelly
would display a nice friendly error page.- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncompatibleAntVersionDetected(Class antClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
URL
getWhereAntIsLoaded()
-
Methods inherited from class hudson.util.BootFailure
getBootFailureFile, loadAttempts, publish
-
Methods inherited from class hudson.util.ErrorObject
doDynamic, getStackTraceString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IncompatibleAntVersionDetected
public IncompatibleAntVersionDetected(Class antClass)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getWhereAntIsLoaded
public URL getWhereAntIsLoaded() throws IOException
- Throws:
IOException
-
-