congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Log.getIsNotAConstraintValidatorClassException
Code IndexAdd Tabnine to your IDE (free)

How to use
getIsNotAConstraintValidatorClassException
method
in
org.hibernate.validator.internal.util.logging.Log

Best Java code snippets using org.hibernate.validator.internal.util.logging.Log.getIsNotAConstraintValidatorClassException (Showing top 2 results out of 315)

origin: org.hibernate.validator/hibernate-validator

private void checkValidatorAssignability(Class<?> validatorClass) {
  if ( !ConstraintValidator.class.isAssignableFrom( validatorClass ) ) {
    throw LOG.getIsNotAConstraintValidatorClassException( validatorClass );
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator

private <A extends Annotation> void addValidatorDefinitions(Class<A> annotationClass, String defaultPackage,
    ValidatedByType validatedByType) {
  List<Class<? extends ConstraintValidator<A, ?>>> constraintValidatorClasses = newArrayList();
  for ( String validatorClassName : validatedByType.getValue() ) {
    @SuppressWarnings("unchecked")
    Class<? extends ConstraintValidator<A, ?>> validatorClass = (Class<? extends ConstraintValidator<A, ?>>) classLoadingHelper
        .loadClass( validatorClassName, defaultPackage );
    if ( !ConstraintValidator.class.isAssignableFrom( validatorClass ) ) {
      throw log.getIsNotAConstraintValidatorClassException( validatorClass );
    }
    constraintValidatorClasses.add( validatorClass );
  }
  constraintHelper.putValidatorClasses(
      annotationClass,
      constraintValidatorClasses,
      Boolean.TRUE.equals( validatedByType.getIncludeExistingValidators() )
  );
}
org.hibernate.validator.internal.util.loggingLoggetIsNotAConstraintValidatorClassException

Popular methods of Log

  • getInvalidRegularExpressionException
  • getInvalidLengthForFractionPartException
  • getInvalidLengthForIntegerPartException
  • getLengthCannotBeNegativeException
  • getMaxCannotBeNegativeException
  • getMinCannotBeNegativeException
  • debug
  • debugf
  • errorInExpressionLanguage
  • evaluatingExpressionLanguageExpressionCausedException
  • getAnnotationDoesNotContainAParameterException
  • getAtLeastOneCustomMessageMustBeCreatedException
  • getAnnotationDoesNotContainAParameterException,
  • getAtLeastOneCustomMessageMustBeCreatedException,
  • getAtLeastOneGroupHasToBeSpecifiedException,
  • getAttemptToSpecifyAnArrayWhereSingleValueIsExpectedException,
  • getBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException,
  • getBeanClassMustBePartOfRedefinedDefaultGroupSequenceException,
  • getBeanDoesNotContainConstructorException,
  • getBeanDoesNotContainMethodException,
  • getBeanDoesNotContainTheFieldException,
  • getBeanDoesNotContainThePropertyException

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now