Class BuildNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jetbrains.buildServer.controllers.BuildNotFoundException
-
- All Implemented Interfaces:
Serializable
public class BuildNotFoundException extends RuntimeException
Thrown if build does not exist.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildNotFoundException(String message)
BuildNotFoundException(String message, SBuildType buildType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SBuildType
getBuildType()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BuildNotFoundException
public BuildNotFoundException(String message)
-
BuildNotFoundException
public BuildNotFoundException(@NotNull String message, @Nullable SBuildType buildType)
-
-
Method Detail
-
getBuildType
@Nullable public SBuildType getBuildType()
- Returns:
- build configuration where build lookup was performed, if any. Returns null if build configuration is unknown.
-
-