public final class Operator.PropertyTypecheckException extends TypecheckException
TypecheckException
when throwing from Operator.typecheck()
to
allow Studio to decorate the error message alongside the UI widget corresponding
to the property.
For all constructors, the first String argument is the Operator's property name
(as declared by the Operator's BeanInfo
)
Constructor and Description |
---|
PropertyTypecheckException(String property,
String msg)
Equivalent to
TypecheckException.TypecheckException(LocatedItem, String) using
Operator.getLocation(String) against the given property as the exception location. |
PropertyTypecheckException(String property,
String msg,
Throwable cause)
Equivalent to
TypecheckException.TypecheckException(LocatedItem, String, Throwable) using
Operator.getLocation(String) against the given property as the exception location. |
PropertyTypecheckException(String property,
Throwable cause)
Equivalent to
TypecheckException.TypecheckException(LocatedItem, Throwable) using
Operator.getLocation(String) against the given property as the exception location. |
equals, getParams, hashCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PropertyTypecheckException(String property, String msg)
TypecheckException.TypecheckException(LocatedItem, String)
using
Operator.getLocation(String)
against the given property
as the exception location.property
- Operator property name associated with this exceptionmsg
- message describing this exceptionOperator.PropertyTypecheckException
public PropertyTypecheckException(String property, Throwable cause)
TypecheckException.TypecheckException(LocatedItem, Throwable)
using
Operator.getLocation(String)
against the given property
as the exception location.property
- Operator property name associated with this exceptioncause
- the underlying cause, as an exception, for this exceptionOperator.PropertyTypecheckException
public PropertyTypecheckException(String property, String msg, Throwable cause)
TypecheckException.TypecheckException(LocatedItem, String, Throwable)
using
Operator.getLocation(String)
against the given property
as the exception location.property
- Operator property name associated with this exceptionmsg
- message describing this exceptionOperator.PropertyTypecheckException