Package org.apache.calcite.runtime
Class Resources.ExInst<T extends java.lang.Exception>
- java.lang.Object
-
- org.apache.calcite.runtime.Resources.Element
-
- org.apache.calcite.runtime.Resources.Inst
-
- org.apache.calcite.runtime.Resources.ExInstWithCause<T>
-
- org.apache.calcite.runtime.Resources.ExInst<T>
-
- Enclosing class:
- Resources
public static class Resources.ExInst<T extends java.lang.Exception> extends Resources.ExInstWithCause<T>
Sub-class ofResources.Inst
that can throw an exception without caused by.
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.runtime.Resources.Inst
args, base
-
Fields inherited from class org.apache.calcite.runtime.Resources.Element
key, method
-
-
Constructor Summary
Constructors Constructor Description ExInst(java.lang.String base, java.util.Locale locale, java.lang.reflect.Method method, java.lang.Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
ex()
void
validate(java.util.EnumSet<Resources.Validation> validations)
-
Methods inherited from class org.apache.calcite.runtime.Resources.ExInstWithCause
ex, getExceptionClass, localize, validateException
-
Methods inherited from class org.apache.calcite.runtime.Resources.Inst
bundle, equals, getProperties, hashCode, raw, str
-
Methods inherited from class org.apache.calcite.runtime.Resources.Element
deriveKey
-
-
-
-
Method Detail
-
ex
public T ex()
-
validate
public void validate(java.util.EnumSet<Resources.Validation> validations)
- Overrides:
validate
in classResources.ExInstWithCause<T extends java.lang.Exception>
-
-