Package com.strobel.reflection
Class Error
- java.lang.Object
-
- com.strobel.reflection.Error
-
final class Error extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateError()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.RuntimeExceptionambiguousMatch()static java.lang.RuntimeExceptioncompoundTypeMayNotHaveGenericParameterBound()static java.lang.RuntimeExceptioncompoundTypeMayOnlyHaveOneClassBound()static MemberResolutionExceptioncouldNotResolveMatchingConstructor()static java.lang.RuntimeExceptioncouldNotResolveMember(MemberInfo member)static java.lang.RuntimeExceptioncouldNotResolveMethod(java.lang.Object signature)static java.lang.RuntimeExceptioncouldNotResolveParameterType(java.lang.Object signature)static java.lang.RuntimeExceptioncouldNotResolveType(java.lang.Object signature)static java.lang.RuntimeExceptionincorrectNumberOfTypeArguments()static java.lang.RuntimeExceptionincorrectNumberOfTypeArguments(Type type)static java.lang.RuntimeExceptioninvalidAncestorType(Type<?> ancestorType, Type<?> declaringType)static java.lang.RuntimeExceptioninvalidSignatureExpectedEndOfTypeArguments(java.lang.String signature, int position)static java.lang.RuntimeExceptioninvalidSignatureExpectedTypeArgument(java.lang.String signature, int position)static java.lang.RuntimeExceptioninvalidSignatureNonGenericTypeTypeArguments(Type<?> type)static java.lang.RuntimeExceptioninvalidSignatureTopLevelGenericParameterUnexpected(java.lang.String signature, int position)static java.lang.RuntimeExceptioninvalidSignatureTypeExpected(java.lang.String signature, int position)static java.lang.RuntimeExceptioninvalidSignatureUnexpectedEnd(java.lang.String signature, int position)static java.lang.RuntimeExceptioninvalidSignatureUnexpectedToken(java.lang.String signature, int position)static java.lang.RuntimeExceptionnoElementType(Type type)static java.lang.RuntimeExceptionnotArrayType(Type type)static java.lang.RuntimeExceptionnotBoundedType(Type type)static java.lang.RuntimeExceptionnotEnumType(Type type)static java.lang.RuntimeExceptionnotGenericMethod(MethodInfo method)static java.lang.RuntimeExceptionnotGenericMethodDefinition(MethodInfo method)static java.lang.RuntimeExceptionnotGenericParameter(Type type)static java.lang.RuntimeExceptionnotGenericType(Type type)static java.lang.RuntimeExceptionnotGenericTypeDefinition(Type type)static java.lang.RuntimeExceptionnotPrimitiveType(java.lang.Class<?> type)static java.lang.RuntimeExceptionnotWildcard(Type type)static java.lang.RuntimeExceptionrawFieldBindingFailure(FieldInfo field)static java.lang.RuntimeExceptionrawMethodBindingFailure(MethodBase method)static java.lang.RuntimeExceptiontargetInvocationException(java.lang.Throwable cause)static java.lang.RuntimeExceptiontypeArgumentsMustContainBoundType()static java.lang.RuntimeExceptiontypeCannotBeInstantiated(Type<?> t)static java.lang.RuntimeExceptiontypeInstantiationFailed(Type<?> t, java.lang.Throwable cause)static java.lang.RuntimeExceptiontypeParameterNotDefined(Type typeParameter)
-
-
-
Method Detail
-
notGenericParameter
public static java.lang.RuntimeException notGenericParameter(Type type)
-
notWildcard
public static java.lang.RuntimeException notWildcard(Type type)
-
notBoundedType
public static java.lang.RuntimeException notBoundedType(Type type)
-
notGenericType
public static java.lang.RuntimeException notGenericType(Type type)
-
notGenericMethod
public static java.lang.RuntimeException notGenericMethod(MethodInfo method)
-
notGenericMethodDefinition
public static java.lang.RuntimeException notGenericMethodDefinition(MethodInfo method)
-
noElementType
public static java.lang.RuntimeException noElementType(Type type)
-
notEnumType
public static java.lang.RuntimeException notEnumType(Type type)
-
notArrayType
public static java.lang.RuntimeException notArrayType(Type type)
-
ambiguousMatch
public static java.lang.RuntimeException ambiguousMatch()
-
incorrectNumberOfTypeArguments
public static java.lang.RuntimeException incorrectNumberOfTypeArguments()
-
incorrectNumberOfTypeArguments
public static java.lang.RuntimeException incorrectNumberOfTypeArguments(Type type)
-
notGenericTypeDefinition
public static java.lang.RuntimeException notGenericTypeDefinition(Type type)
-
notPrimitiveType
public static java.lang.RuntimeException notPrimitiveType(java.lang.Class<?> type)
-
typeParameterNotDefined
public static java.lang.RuntimeException typeParameterNotDefined(Type typeParameter)
-
couldNotResolveMethod
public static java.lang.RuntimeException couldNotResolveMethod(java.lang.Object signature)
-
couldNotResolveMember
public static java.lang.RuntimeException couldNotResolveMember(MemberInfo member)
-
couldNotResolveType
public static java.lang.RuntimeException couldNotResolveType(java.lang.Object signature)
-
couldNotResolveParameterType
public static java.lang.RuntimeException couldNotResolveParameterType(java.lang.Object signature)
-
typeArgumentsMustContainBoundType
public static java.lang.RuntimeException typeArgumentsMustContainBoundType()
-
compoundTypeMayOnlyHaveOneClassBound
public static java.lang.RuntimeException compoundTypeMayOnlyHaveOneClassBound()
-
compoundTypeMayNotHaveGenericParameterBound
public static java.lang.RuntimeException compoundTypeMayNotHaveGenericParameterBound()
-
typeCannotBeInstantiated
public static java.lang.RuntimeException typeCannotBeInstantiated(Type<?> t)
-
typeInstantiationFailed
public static java.lang.RuntimeException typeInstantiationFailed(Type<?> t, java.lang.Throwable cause)
-
rawFieldBindingFailure
public static java.lang.RuntimeException rawFieldBindingFailure(FieldInfo field)
-
rawMethodBindingFailure
public static java.lang.RuntimeException rawMethodBindingFailure(MethodBase method)
-
targetInvocationException
public static java.lang.RuntimeException targetInvocationException(java.lang.Throwable cause)
-
couldNotResolveMatchingConstructor
public static MemberResolutionException couldNotResolveMatchingConstructor()
-
invalidAncestorType
public static java.lang.RuntimeException invalidAncestorType(Type<?> ancestorType, Type<?> declaringType)
-
invalidSignatureTypeExpected
public static java.lang.RuntimeException invalidSignatureTypeExpected(java.lang.String signature, int position)
-
invalidSignatureTopLevelGenericParameterUnexpected
public static java.lang.RuntimeException invalidSignatureTopLevelGenericParameterUnexpected(java.lang.String signature, int position)
-
invalidSignatureNonGenericTypeTypeArguments
public static java.lang.RuntimeException invalidSignatureNonGenericTypeTypeArguments(Type<?> type)
-
invalidSignatureUnexpectedToken
public static java.lang.RuntimeException invalidSignatureUnexpectedToken(java.lang.String signature, int position)
-
invalidSignatureUnexpectedEnd
public static java.lang.RuntimeException invalidSignatureUnexpectedEnd(java.lang.String signature, int position)
-
invalidSignatureExpectedEndOfTypeArguments
public static java.lang.RuntimeException invalidSignatureExpectedEndOfTypeArguments(java.lang.String signature, int position)
-
invalidSignatureExpectedTypeArgument
public static java.lang.RuntimeException invalidSignatureExpectedTypeArgument(java.lang.String signature, int position)
-
-