org.slim3.container.exception
Class BindingFailureRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.slim3.commons.exception.SRuntimeException
                  extended by org.slim3.container.exception.BindingFailureRuntimeException
All Implemented Interfaces:
Serializable

public class BindingFailureRuntimeException
extends SRuntimeException

This exception is thrown when an exception is encountered while binding.

Author:
higa
See Also:
Serialized Form

Field Summary
protected  Class<?> beanClass
          The bean class.
protected  String propertyName
          The property name.
 
Constructor Summary
BindingFailureRuntimeException(Class<?> beanClass, String propertyName, Throwable cause)
          Constructor.
 
Method Summary
 Class<?> getBeanClass()
          Returns the bean class.
 String getPropertyName()
          Returns the property name.
 
Methods inherited from class org.slim3.commons.exception.SRuntimeException
convertCauseMessage, getArgs, getMessageCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

beanClass

protected Class<?> beanClass
The bean class.


propertyName

protected String propertyName
The property name.

Constructor Detail

BindingFailureRuntimeException

public BindingFailureRuntimeException(Class<?> beanClass,
                                      String propertyName,
                                      Throwable cause)
Constructor.

Parameters:
beanClass - the bean class
propertyName - the property name
cause - the cause
Method Detail

getBeanClass

public Class<?> getBeanClass()
Returns the bean class.

Returns:
the bean class

getPropertyName

public String getPropertyName()
Returns the property name.

Returns:
the property name


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.