Package com.vaadin.data.util
Class MethodProperty.MethodException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.vaadin.data.util.MethodProperty.MethodException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MethodProperty<T>
public static class MethodProperty.MethodException extends RuntimeException
Exceptionobject that signals that there were problems calling or finding the specified getter or setter methods of the property.- Since:
- 3.0
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodException(Property property, String msg)Constructs a newMethodExceptionwith the specified detail message.MethodException(Property property, Throwable cause)Constructs a newMethodExceptionfrom another exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()MethodPropertygetMethodProperty()Gets the method property this exception originates from.PropertygetProperty()Gets the method property this exception originates from.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getCause
public Throwable getCause()
- Overrides:
getCausein classThrowable- See Also:
Throwable.getCause()
-
getMethodProperty
public MethodProperty getMethodProperty()
Gets the method property this exception originates from.- Returns:
- MethodProperty or null if not a valid MethodProperty
-
getProperty
public Property getProperty()
Gets the method property this exception originates from.- Returns:
- Property from which the exception originates
-
-