Package jenkins.tasks.filters
Class EnvVarsFilterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- hudson.AbortException
-
- jenkins.tasks.filters.EnvVarsFilterException
-
- All Implemented Interfaces:
Serializable
@Restricted(org.kohsuke.accmod.restrictions.Beta.class) public class EnvVarsFilterException extends AbortException
Exception that occurs during the environment filtering process, with helper to track the source.- Since:
- 2.246
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnvVarsFilterException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
EnvVarsFilterRule
getRule()
EnvVarsFilterException
withRule(EnvVarsFilterRule rule)
EnvVarsFilterException
withVariable(String variableName)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EnvVarsFilterException
public EnvVarsFilterException(String message)
-
-
Method Detail
-
withRule
@NonNull public EnvVarsFilterException withRule(@NonNull EnvVarsFilterRule rule)
-
withVariable
@NonNull public EnvVarsFilterException withVariable(@NonNull String variableName)
-
getRule
@CheckForNull public EnvVarsFilterRule getRule()
-
getMessage
@NonNull public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-