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

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

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

origin: org.hibernate.validator/hibernate-validator

@Override
public PropertyConstraintMappingContext property(String property, ElementType elementType) {
  Contracts.assertNotNull( property, "The property name must not be null." );
  Contracts.assertNotNull( elementType, "The element type must not be null." );
  Contracts.assertNotEmpty( property, MESSAGES.propertyNameMustNotBeEmpty() );
  Member member = getMember(
      beanClass, property, elementType
  );
  if ( member == null || member.getDeclaringClass() != beanClass ) {
    throw LOG.getUnableToFindPropertyWithAccessException( beanClass, property, elementType );
  }
  if ( configuredMembers.contains( member ) ) {
    throw LOG.getPropertyHasAlreadyBeConfiguredViaProgrammaticApiException( beanClass, property );
  }
  PropertyConstraintMappingContextImpl context = new PropertyConstraintMappingContextImpl(
      this,
      member
  );
  configuredMembers.add( member );
  propertyContexts.add( context );
  return context;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator

@Override
public PropertyConstraintMappingContext property(String property, ElementType elementType) {
  Contracts.assertNotNull( property, "The property name must not be null." );
  Contracts.assertNotNull( elementType, "The element type must not be null." );
  Contracts.assertNotEmpty( property, MESSAGES.propertyNameMustNotBeEmpty() );
  Member member = getMember(
      beanClass, property, elementType
  );
  if ( member == null || member.getDeclaringClass() != beanClass ) {
    throw log.getUnableToFindPropertyWithAccessException( beanClass, property, elementType );
  }
  if ( configuredMembers.contains( member ) ) {
    throw log.getPropertyHasAlreadyBeConfiguredViaProgrammaticApiException( beanClass, property );
  }
  PropertyConstraintMappingContextImpl context = new PropertyConstraintMappingContextImpl(
      this,
      member
  );
  configuredMembers.add( member );
  propertyContexts.add( context );
  return context;
}
org.hibernate.validator.internal.util.loggingLoggetPropertyHasAlreadyBeConfiguredViaProgrammaticApiException

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

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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