Class Error


  • final class Error
    extends java.lang.Object
    • Constructor Detail

      • Error

        private Error()
    • 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)
      • 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)