Class BeanExpressionException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.beans.BeansException
- org.springframework.beans.FatalBeanException
- org.springframework.beans.factory.BeanExpressionException
- All Implemented Interfaces:
Serializable
public class BeanExpressionException extends FatalBeanException
Exception that indicates an expression evaluation attempt having failed.- Since:
- 3.0
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description BeanExpressionException(String msg)
Create a new BeanExpressionException with the specified message.BeanExpressionException(String msg, Throwable cause)
Create a new BeanExpressionException with the specified message and root cause.
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
BeanExpressionException
public BeanExpressionException(String msg)
Create a new BeanExpressionException with the specified message.- Parameters:
msg
- the detail message
BeanExpressionException
public BeanExpressionException(String msg, Throwable cause)
Create a new BeanExpressionException with the specified message and root cause.- Parameters:
msg
- the detail messagecause
- the root cause