From ce3c538fb5de1eba560e64663bb3e04cb71af603 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Thu, 14 Jul 2011 13:49:10 -0400 Subject: [PATCH] polishing --- .../integration/util/AbstractExpressionEvaluator.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/util/AbstractExpressionEvaluator.java b/spring-integration-core/src/main/java/org/springframework/integration/util/AbstractExpressionEvaluator.java index fab1a25049..544f1ec6d6 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/util/AbstractExpressionEvaluator.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/util/AbstractExpressionEvaluator.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 the original author or authors. + * Copyright 2002-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at @@ -87,15 +87,15 @@ public abstract class AbstractExpressionEvaluator implements BeanFactoryAware { } catch (EvaluationException e) { Throwable cause = e.getCause(); - if (this.logger.isDebugEnabled()){ - logger.debug("SpEL Expressioin failed with EvaluationException and Message: " + e.getMessage()); + if (this.logger.isDebugEnabled()) { + logger.debug("SpEL Expression evaluation failed with EvaluationException.", e); } throw new MessageHandlingException(message, "Expression evaluation failed: " + expression.getExpressionString(), cause == null ? e : cause); } catch (Exception e) { - if (this.logger.isDebugEnabled()){ - logger.debug("SpEL Expressioin failed with Exception and Message: " + e.getMessage()); + if (this.logger.isDebugEnabled()) { + logger.debug("SpEL Expression evaluation failed with Exception." + e); } throw new MessageHandlingException(message, "Expression evaluation failed: " + expression.getExpressionString(), e);