Class UnsatisfiedArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.core.bind.exceptions.UnsatisfiedArgumentException
- All Implemented Interfaces:
Serializable
An exception thrown when an
Argument could not be satisfied
by a ExecutableBinder.- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnsatisfiedArgumentException(Argument<?> argument) UnsatisfiedArgumentException(Argument<?> argument, String message) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsatisfiedArgumentException
-
UnsatisfiedArgumentException
-
-
Method Details
-
getArgument
- Returns:
- The argument that could not be bound.
-
getMessage
- Overrides:
getMessagein classThrowable
-