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.Constructor and 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. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
MethodProperty |
getMethodProperty()
Gets the method property this exception originates from.
|
Property |
getProperty()
Gets the method property this exception originates from.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MethodException(Property property, String msg)
MethodException
with the specified
detail message.property
- the property.msg
- the detail message.public Throwable getCause()
getCause
in class Throwable
Throwable.getCause()
public MethodProperty getMethodProperty()
public Property getProperty()
Copyright © 2022 Vaadin Ltd. All rights reserved.