Package com.strobel.reflection
Class Error
java.lang.Object
com.strobel.reflection.Error
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeException
static RuntimeException
static RuntimeException
static MemberResolutionException
static RuntimeException
couldNotResolveMember
(MemberInfo member) static RuntimeException
couldNotResolveMethod
(Object signature) static RuntimeException
couldNotResolveParameterType
(Object signature) static RuntimeException
couldNotResolveType
(Object signature) static RuntimeException
static RuntimeException
static RuntimeException
invalidAncestorType
(Type<?> ancestorType, Type<?> declaringType) static RuntimeException
invalidSignatureExpectedEndOfTypeArguments
(String signature, int position) static RuntimeException
invalidSignatureExpectedTypeArgument
(String signature, int position) static RuntimeException
static RuntimeException
invalidSignatureTopLevelGenericParameterUnexpected
(String signature, int position) static RuntimeException
invalidSignatureTypeExpected
(String signature, int position) static RuntimeException
invalidSignatureUnexpectedEnd
(String signature, int position) static RuntimeException
invalidSignatureUnexpectedToken
(String signature, int position) static RuntimeException
noElementType
(Type type) static RuntimeException
notArrayType
(Type type) static RuntimeException
notBoundedType
(Type type) static RuntimeException
notEnumType
(Type type) static RuntimeException
notGenericMethod
(MethodInfo method) static RuntimeException
notGenericMethodDefinition
(MethodInfo method) static RuntimeException
notGenericParameter
(Type type) static RuntimeException
notGenericType
(Type type) static RuntimeException
notGenericTypeDefinition
(Type type) static RuntimeException
notPrimitiveType
(Class<?> type) static RuntimeException
notWildcard
(Type type) static RuntimeException
rawFieldBindingFailure
(FieldInfo field) static RuntimeException
rawMethodBindingFailure
(MethodBase method) static RuntimeException
static RuntimeException
static RuntimeException
typeCannotBeInstantiated
(Type<?> t) static RuntimeException
typeInstantiationFailed
(Type<?> t, Throwable cause) static RuntimeException
typeParameterNotDefined
(Type typeParameter)
-
Constructor Details
-
Error
private Error()
-
-
Method Details
-
notGenericParameter
-
notWildcard
-
notBoundedType
-
notGenericType
-
notGenericMethod
-
notGenericMethodDefinition
-
noElementType
-
notEnumType
-
notArrayType
-
ambiguousMatch
-
incorrectNumberOfTypeArguments
-
incorrectNumberOfTypeArguments
-
notGenericTypeDefinition
-
notPrimitiveType
-
typeParameterNotDefined
-
couldNotResolveMethod
-
couldNotResolveMember
-
couldNotResolveType
-
couldNotResolveParameterType
-
typeArgumentsMustContainBoundType
-
compoundTypeMayOnlyHaveOneClassBound
-
compoundTypeMayNotHaveGenericParameterBound
-
typeCannotBeInstantiated
-
typeInstantiationFailed
-
rawFieldBindingFailure
-
rawMethodBindingFailure
-
targetInvocationException
-
couldNotResolveMatchingConstructor
-
invalidAncestorType
-
invalidSignatureTypeExpected
-
invalidSignatureTopLevelGenericParameterUnexpected
public static RuntimeException invalidSignatureTopLevelGenericParameterUnexpected(String signature, int position) -
invalidSignatureNonGenericTypeTypeArguments
-
invalidSignatureUnexpectedToken
-
invalidSignatureUnexpectedEnd
-
invalidSignatureExpectedEndOfTypeArguments
public static RuntimeException invalidSignatureExpectedEndOfTypeArguments(String signature, int position) -
invalidSignatureExpectedTypeArgument
-