Tabnine Logo
Log.getOverriddenConstraintAttributeNotFoundException
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.hibernate.validator/hibernate-validator

private void ensureAttributeIsOverridable(Method m, OverridesAttribute overridesAttribute, String overridesAttributeName) {
  final Method method = run( GetMethod.action( overridesAttribute.constraint(), overridesAttributeName ) );
  if ( method == null ) {
    throw LOG.getOverriddenConstraintAttributeNotFoundException( overridesAttributeName );
  }
  Class<?> returnTypeOfOverriddenConstraint = method.getReturnType();
  if ( !returnTypeOfOverriddenConstraint.equals( m.getReturnType() ) ) {
    throw LOG.getWrongAttributeTypeForOverriddenConstraintException(
        returnTypeOfOverriddenConstraint,
        m.getReturnType()
    );
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator

private void ensureAttributeIsOverridable(Method m, OverridesAttribute overridesAttribute) {
  final Method method = run( GetMethod.action( overridesAttribute.constraint(), overridesAttribute.name() ) );
  if ( method == null ) {
    throw log.getOverriddenConstraintAttributeNotFoundException( overridesAttribute.name() );
  }
  Class<?> returnTypeOfOverriddenConstraint = method.getReturnType();
  if ( !returnTypeOfOverriddenConstraint.equals( m.getReturnType() ) ) {
    throw log.getWrongAttributeTypeForOverriddenConstraintException(
        returnTypeOfOverriddenConstraint,
        m.getReturnType()
    );
  }
}
org.hibernate.validator.internal.util.loggingLoggetOverriddenConstraintAttributeNotFoundException

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

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Vim plugins
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