Package org.glassfish.gmbal.typelib
Interface Exceptions
-
@ExceptionWrapper(idPrefix="GMBALTLIB", resourceBundle="org.glassfish.gmbal.logex.LogStrings") public interface Exceptions
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXCEPTIONS_PER_CLASS
static Exceptions
self
static int
TYPE_EVALUATOR_START
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IllegalStateException
errorInTypeEval(java.lang.Class cls, java.lang.Error err)
java.lang.IllegalArgumentException
evaluateTypeCalledWithMethod(java.lang.Object type)
java.lang.IllegalArgumentException
evaluateTypeCalledWithUnknownType(java.lang.Object type)
java.lang.IllegalStateException
internalTypeEvaluatorError(java.lang.Exception exc)
java.lang.IllegalArgumentException
listsNotTheSameLengthInParamType(java.lang.reflect.ParameterizedType pt)
java.lang.UnsupportedOperationException
multipleUpperBoundsNotSupported(java.lang.Object type)
-
-
-
Field Detail
-
self
static final Exceptions self
-
EXCEPTIONS_PER_CLASS
static final int EXCEPTIONS_PER_CLASS
- See Also:
- Constant Field Values
-
TYPE_EVALUATOR_START
static final int TYPE_EVALUATOR_START
- See Also:
- Constant Field Values
-
-
Method Detail
-
internalTypeEvaluatorError
@Message("Internal error in TypeEvaluator") @Log(id=1) java.lang.IllegalStateException internalTypeEvaluatorError(@Chain java.lang.Exception exc)
-
evaluateTypeCalledWithMethod
@Message("evaluateType should not be called with a Method ({0})") @Log(id=2) java.lang.IllegalArgumentException evaluateTypeCalledWithMethod(java.lang.Object type)
-
evaluateTypeCalledWithUnknownType
@Message("evaluateType should not be called with an unknown type ({0})") @Log(id=3) java.lang.IllegalArgumentException evaluateTypeCalledWithUnknownType(java.lang.Object type)
-
multipleUpperBoundsNotSupported
@Message("Multiple upper bounds not supported on {0}") @Log(id=4) java.lang.UnsupportedOperationException multipleUpperBoundsNotSupported(java.lang.Object type)
-
listsNotTheSameLengthInParamType
@Message("Type list and TypeVariable list are not the same length for {0}") @Log(id=5) java.lang.IllegalArgumentException listsNotTheSameLengthInParamType(java.lang.reflect.ParameterizedType pt)
-
errorInTypeEval
@Message("Error thrown from getEvaluatedType for class {0}") @Log(id=6, level=SEVERE) java.lang.IllegalStateException errorInTypeEval(java.lang.Class cls, @Chain java.lang.Error err)
-
-