Package com.streambase.sb.operator
Class Operator.PropertyTypecheckException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.streambase.sb.StreamBaseException
com.streambase.sb.operator.TypecheckException
com.streambase.sb.operator.Operator.PropertyTypecheckException
- All Implemented Interfaces:
com.streambase.sb.util.LocatedItem
,Serializable
- Enclosing class:
- Operator
A typecheck exception associated with an Operator property (or parameter) by name. Use this instead of
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
)
- Since:
- 6.5 initial release
- See Also:
-
Constructor Summary
ConstructorDescriptionPropertyTypecheckException
(String property, String msg) Equivalent toTypecheckException(LocatedItem, String)
usingOperator.getLocation(String)
against the givenproperty
as the exception location.PropertyTypecheckException
(String property, String msg, Throwable cause) Equivalent toTypecheckException(LocatedItem, String, Throwable)
usingOperator.getLocation(String)
against the givenproperty
as the exception location.PropertyTypecheckException
(String property, Throwable cause) Equivalent toTypecheckException(LocatedItem, Throwable)
usingOperator.getLocation(String)
against the givenproperty
as the exception location. -
Method Summary
Methods inherited from class com.streambase.sb.StreamBaseException
asXmlStringSingle, asXmlStringStrict, asXmlStringStrict, equals, getParams, hashCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyTypecheckException
Equivalent toTypecheckException(LocatedItem, String)
usingOperator.getLocation(String)
against the givenproperty
as the exception location.- Parameters:
property
- Operator property name associated with this exceptionmsg
- message describing this exception- See Also:
-
PropertyTypecheckException
Equivalent toTypecheckException(LocatedItem, Throwable)
usingOperator.getLocation(String)
against the givenproperty
as the exception location.- Parameters:
property
- Operator property name associated with this exceptioncause
- the underlying cause, as an exception, for this exception- See Also:
-
PropertyTypecheckException
Equivalent toTypecheckException(LocatedItem, String, Throwable)
usingOperator.getLocation(String)
against the givenproperty
as the exception location.- Parameters:
property
- Operator property name associated with this exceptionmsg
- message describing this exceptioncause
- underlying exception- See Also:
-