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:
Enclosing class:
public static 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
Author:
Vaadin Ltd.
See Also:
-
-
Constructor Summary
Constructors Constructor Description MethodException(Property property, String msg)
Constructs a new
MethodException
with the specified detail message.MethodException(Property property, Throwable cause)
Constructs a new
MethodException
from another exception.
-
Method Summary
All Methods Modifier and Type Method Description Throwable
getCause()
MethodProperty
getMethodProperty()
Gets the method property this exception originates from.
Property
getProperty()
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:
See Also:
-
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
-
-