Class SpliceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.jenkins.plugins.configsplice.engine.SpliceException
- All Implemented Interfaces:
Serializable
The only exception type this engine throws across its public boundary.
Third-party parser exceptions are never propagated: Jackson and StAX both embed source excerpts in their messages, and a source excerpt of a file mid-substitution can contain a resolved credential. Callers catch this type and are guaranteed a value-free message (SRS section 12.5).
A cause may be attached for controller-side diagnostics, but callers must never print a cause chain to a build log.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpliceException(ErrorCode code, String valueFreeMessage) SpliceException(ErrorCode code, String valueFreeMessage, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SpliceException
-
SpliceException
-
-
Method Details
-
code
-