org.slim3.commons.exception
Class PropertyCanNotWriteRuntimeException

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.PropertyCanNotWriteRuntimeException
All Implemented Interfaces:
Serializable

public class PropertyCanNotWriteRuntimeException
extends SRuntimeException

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

Since:
3.0
Author:
higa
See Also:
Serialized Form

Constructor Summary
PropertyCanNotWriteRuntimeException(Class<?> beanClass, String propertyName, Object value, Throwable cause)
          Constructor.
 
Method Summary
 Class<?> getBeanClass()
          Returns the bean class.
 String getPropertyName()
          Returns the property name.
 Object getValue()
          Returns the value.
 
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

PropertyCanNotWriteRuntimeException

public PropertyCanNotWriteRuntimeException(Class<?> beanClass,
                                           String propertyName,
                                           Object value,
                                           Throwable cause)
Constructor.

Parameters:
beanClass - the bean class
propertyName - the property name
value - the value
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

getValue

public Object getValue()
Returns the value.

Returns:
the value


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