Package org.forgerock.config.resolvers
Class SubstitutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.config.resolvers.SubstitutionException
-
- All Implemented Interfaces:
Serializable
public class SubstitutionException extends Exception
Exception thrown during substitution process.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SubstitutionException(String message, Throwable cause, SubstitutionContext context)
SubstitutionException(String message, SubstitutionContext context)
Creates aSubstitutionException
with the givenmessage
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getFailedKeys()
Returns the key(s) that have caused this substitution to fail.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SubstitutionException
public SubstitutionException(String message, SubstitutionContext context)
Creates aSubstitutionException
with the givenmessage
.- Parameters:
message
- error's descriptioncontext
- context with detailed info about the error
-
SubstitutionException
public SubstitutionException(String message, Throwable cause, SubstitutionContext context)
- Parameters:
message
- error's descriptioncause
- error's parent causecontext
- context with detailed info about the error
-
-