public class TypecheckException extends StreamBaseException
Operator
by using Operator.PropertyTypecheckException
instead of this class,
allowing StreamBase Studio to place the error message alongside that property's UI widget.Constructor and Description |
---|
TypecheckException(com.streambase.sb.util.LocatedItem loc,
String msg)
Constructs a located TypecheckException with the given message.
|
TypecheckException(com.streambase.sb.util.LocatedItem loc,
String msg,
Throwable cause)
Constructs a located TypecheckException with the given message and cause.
|
TypecheckException(com.streambase.sb.util.LocatedItem loc,
Throwable cause)
Constructs a TypecheckException with the given cause and a message of (cause==null ? null : cause.toString()).
|
TypecheckException(StreamBaseException cause) |
TypecheckException(String msg)
Constructs a TypecheckException with the given message
|
TypecheckException(String msg,
Throwable cause)
Constructs a TypecheckException with the given message and cause
|
TypecheckException(Throwable cause)
Constructs a TypecheckException with the given cause and a message of (cause==null ? null : cause.toString())
|
equals, getParams, hashCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TypecheckException(String msg)
msg
- message describing this exceptionpublic TypecheckException(String msg, Throwable cause)
msg
- message describing this exceptioncause
- the cause of this exception. May be null, indicating that the cause is nonexistent or unknown.public TypecheckException(Throwable cause)
cause
- the cause of this exception. May be null, indicating that the cause is nonexistent or unknown.public TypecheckException(StreamBaseException cause)
public TypecheckException(com.streambase.sb.util.LocatedItem loc, String msg, Throwable cause)
Operator.PropertyTypecheckException
with its (String, String, Throwable)
constructor instead.loc
- location scoping this exception, used to provide better error reportingmsg
- message describing this exceptioncause
- the cause of this exception. May be null, indicating that the cause is nonexistent or unknown.public TypecheckException(com.streambase.sb.util.LocatedItem loc, String msg)
Operator.PropertyTypecheckException
with its (String, String)
constructor instead.loc
- location scoping this exception, used to provide better error reportingmsg
- message describing this exceptionpublic TypecheckException(com.streambase.sb.util.LocatedItem loc, Throwable cause)
Operator.PropertyTypecheckException
with its (String, Throwable)
constructor instead.loc
- location scoping this exception, used to provide better error reportingcause
- the cause of this exception. May be null, indicating that the cause is nonexistent or unknown.