com.itmill.toolkit.data.util
Class MethodProperty.MethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.itmill.toolkit.data.util.MethodProperty.MethodException
All Implemented Interfaces:
Serializable
Enclosing class:
MethodProperty

public class MethodProperty.MethodException
extends RuntimeException

Exception object that signals that there were problems calling or finding the specified getter or setter methods of the property.

Since:
3.0
Version:
5.3.0
Author:
IT Mill Ltd.
See Also:
Serialized Form

Constructor Summary
MethodProperty.MethodException(String msg)
          Constructs a new MethodException with the specified detail message.
MethodProperty.MethodException(Throwable cause)
          Constructs a new MethodException from another exception.
 
Method Summary
 Throwable getCause()
           
 MethodProperty getMethodProperty()
          Gets the method property this exception originates from.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

MethodProperty.MethodException

public MethodProperty.MethodException(String msg)
Constructs a new MethodException with the specified detail message.

Parameters:
msg - the detail message.

MethodProperty.MethodException

public MethodProperty.MethodException(Throwable cause)
Constructs a new MethodException from another exception.

Parameters:
cause - the cause of the exception.
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable
See Also:
Throwable.getCause()

getMethodProperty

public MethodProperty getMethodProperty()
Gets the method property this exception originates from.



Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.