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

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

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

origin: org.hibernate.validator/hibernate-validator

@Override
public final <C> TypeConstraintMappingContext<C> type(Class<C> type) {
  Contracts.assertNotNull( type, MESSAGES.beanTypeMustNotBeNull() );
  if ( configuredTypes.contains( type ) ) {
    throw LOG.getBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException( type );
  }
  TypeConstraintMappingContextImpl<C> typeContext = new TypeConstraintMappingContextImpl<>( this, type );
  typeContexts.add( typeContext );
  configuredTypes.add( type );
  return typeContext;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator

@Override
public final <C> TypeConstraintMappingContext<C> type(Class<C> type) {
  Contracts.assertNotNull( type, MESSAGES.beanTypeMustNotBeNull() );
  if ( configuredTypes.contains( type ) ) {
    throw log.getBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException( type );
  }
  TypeConstraintMappingContextImpl<C> typeContext = new TypeConstraintMappingContextImpl<C>( this, type );
  typeContexts.add( typeContext );
  configuredTypes.add( type );
  return typeContext;
}
origin: org.hibernate.validator/hibernate-validator

private static void assertUniquenessOfConfiguredTypes(Set<DefaultConstraintMapping> mappings) {
  Set<Class<?>> allConfiguredTypes = newHashSet();
  for ( DefaultConstraintMapping constraintMapping : mappings ) {
    for ( Class<?> configuredType : constraintMapping.getConfiguredTypes() ) {
      if ( allConfiguredTypes.contains( configuredType ) ) {
        throw LOG.getBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException( configuredType );
      }
    }
    allConfiguredTypes.addAll( constraintMapping.getConfiguredTypes() );
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator

private void assertUniquenessOfConfiguredTypes(Set<DefaultConstraintMapping> mappings) {
  Set<Class<?>> allConfiguredTypes = newHashSet();
  for ( DefaultConstraintMapping constraintMapping : mappings ) {
    for ( Class<?> configuredType : constraintMapping.getConfiguredTypes() ) {
      if ( allConfiguredTypes.contains( configuredType ) ) {
        throw log.getBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException( configuredType );
      }
    }
    allConfiguredTypes.addAll( constraintMapping.getConfiguredTypes() );
  }
}
org.hibernate.validator.internal.util.loggingLoggetBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException

Popular methods of Log

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

Popular in Java

  • Making http requests using okhttp
  • setContentView (Activity)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top 12 Jupyter Notebook extensions
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