Package nz.org.riskscape.engine.bind
Class NoBindingAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nz.org.riskscape.engine.RiskscapeException
nz.org.riskscape.engine.bind.NoBindingAvailableException
- All Implemented Interfaces:
Serializable
Thrown from BindingContext when a binding fails because no ParameterBinder is available to bind with the
given from and to
Used in preference to UnbindableParameterException. See BindingContext for info on the deprecation
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getFrom()A parameter associated with theNoBindingAvailableException, may be nullClass<?>getTo()voidsetParameter(Parameter parameter) Update this exception with some parameter context infoMethods inherited from class nz.org.riskscape.engine.RiskscapeException
getCause, getProblems, hasProblemMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoBindingAvailableException
-
-
Method Details
-
setParameter
Update this exception with some parameter context info
-
getProblem
- Overrides:
getProblemin classRiskscapeException- Returns:
- the problem associated with this exception, or null if there is none TODO pull this thread and convert to iproblem and see what happens
-
getTo
-
getFrom
-
getParameter
A parameter associated with the
NoBindingAvailableException, may be null
-