AbstractHandlerMethodMapping adds type+method info to getMappingForMethod exceptions
Issue: SPR-14452
(cherry picked from commit 8ccd727)
			
			
This commit is contained in:
		
							parent
							
								
									5c3c0f73c1
								
							
						
					
					
						commit
						f0a826ec0c
					
				|  | @ -231,8 +231,14 @@ public abstract class AbstractHandlerMethodMapping<T> extends AbstractHandlerMap | |||
| 				new MethodIntrospector.MetadataLookup<T>() { | ||||
| 					@Override | ||||
| 					public T inspect(Method method) { | ||||
| 						try { | ||||
| 							return getMappingForMethod(method, userType); | ||||
| 						} | ||||
| 						catch (Throwable ex) { | ||||
| 							throw new IllegalStateException("Invalid mapping on handler class [" + | ||||
| 									userType.getName() + "]: " + method, ex); | ||||
| 						} | ||||
| 					} | ||||
| 				}); | ||||
| 
 | ||||
| 		if (logger.isDebugEnabled()) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue