Class BuilderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.buildpack.platform.build.BuilderException
- All Implemented Interfaces:
Serializable
Exception thrown to indicate a Builder error.
- Since:
- 2.3.0
- Author:
- Scott Frederick
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the Builder operation that failed.int
Return the status code returned from a Builder operation.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getOperation
Return the Builder operation that failed.- Returns:
- the operation description
-
getStatusCode
public int getStatusCode()Return the status code returned from a Builder operation.- Returns:
- the statusCode the status code
-