org.slim3.commons.exception
Class PropertyCanNotReadRuntimeException

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.commons.exception.PropertyCanNotReadRuntimeException
All Implemented Interfaces:
Serializable

public class PropertyCanNotReadRuntimeException
extends SRuntimeException

This exception is thrown when an exception is encountered while trying to read the property.

Since:
3.0
Author:
higa
See Also:
Serialized Form

Constructor Summary
PropertyCanNotReadRuntimeException(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
 

Constructor Detail

PropertyCanNotReadRuntimeException

public PropertyCanNotReadRuntimeException(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.