Package com.github.dakusui.exception
Interface ExceptionContext.Key
- All Known Implementing Classes:
SymfonionExceptionThrower.Key
- Enclosing interface:
ExceptionContext<K extends ExceptionContext.Key>
public static interface ExceptionContext.Key
An interface for keys to be used for ExceptionContext.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault Class<?> Returns a class expected for a value to be associated with this key.
-
Method Details
-
expectedClass
Returns a class expected for a value to be associated with this key.
- Returns:
- Expected class for the value.
-