We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
- extends RuntimeException
public static class MethodProperty.MethodException
Exception
object that signals that there were problems
calling or finding the specified getter or setter methods of the
property.
Since:
3.0
Version:
6.8.18
Author:
Vaadin Ltd.
See Also:
Constructor Summary | |
---|---|
MethodProperty.MethodException(Property property,
String msg)
Constructs a new MethodException with the specified
detail message. |
|
MethodProperty.MethodException(Property property,
Throwable cause)
Constructs a new MethodException from another exception. |
Method Summary | |
---|---|
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 |
---|
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(Property property,
String msg)
- Parameters:
property
- the property.msg
- the detail message.
Constructs a new MethodException
with the specified
detail message.
MethodProperty.MethodException
public MethodProperty.MethodException(Property property,
Throwable cause)
- Parameters:
property
- the property.cause
- the cause of the exception.
Constructs a new MethodException
from another exception.
Method Detail |
---|
getCause
public Throwable getCause()
- See Also:
Throwable.getCause()
getMethodProperty
public MethodProperty getMethodProperty()
- Returns:
- MethodProperty or null if not a valid MethodProperty
Gets the method property this exception originates from.
getProperty
public Property getProperty()
- Returns:
- Property from which the exception originates
Gets the method property this exception originates from.