org.jboss.logging.annotations.Message类的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(434)

本文整理了Java中org.jboss.logging.annotations.Message类的一些代码示例,展示了Message类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message类的具体详情如下:
包路径:org.jboss.logging.annotations.Message
类名称:Message

Message介绍

暂无

代码示例

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "Error while accessing session factory with JNDI name %s", id = 272)
  3. void unableToAccessSessionFactory(
  4. String sfJNDIName,
  5. @Cause NamingException e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "Getters of lazy classes cannot be final: %s.%s", id = 112)
  3. void gettersOfLazyClassesCannotBeFinal(
  4. String entityName,
  5. String name);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = WARN)
  2. @Message(value = "Config specified explicit optimizer of [%s], but [%s=%s]; using optimizer [%s] increment default of [%s].", id = 116)
  3. void honoringOptimizerSetting(
  4. String none,
  5. String incrementParam,
  6. int incrementSize,
  7. String positiveOrNegative,
  8. int defaultIncrementSize
  9. );

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = WARN)
  2. @Message(value = "Malformed URL: %s", id = 15009)
  3. void malformedUrlWarning(
  4. URL jarUrl,
  5. @Cause URISyntaxException e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = DEBUG)
  2. @Message(value = "HQL: %s, time: %sms, rows: %s", id = 117)
  3. void hql(
  4. String hql,
  5. Long valueOf,
  6. Long valueOf2);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "No session factory with JNDI name %s", id = 184)
  3. void noSessionFactoryWithJndiName(
  4. String sfJNDIName,
  5. @Cause NameNotFoundException e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "IllegalArgumentException in class: %s, getter method of property: %s", id = 122)
  3. void illegalPropertyGetterArgument(
  4. String name,
  5. String propertyName);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "Error closing input files: %s", id = 286)
  3. void unableToCloseInputFiles(
  4. String name,
  5. @Cause IOException e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "IllegalArgumentException in class: %s, setter method of property: %s", id = 123)
  3. void illegalPropertySetterArgument(
  4. String name,
  5. String propertyName);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "Unable to construct current session context [%s]", id = 302)
  3. void unableToConstructCurrentSessionContext(
  4. String impl,
  5. @Cause Throwable e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "Warning parsing XML (%s) : %s", id = 198)
  3. void parsingXmlWarning(
  4. int lineNumber,
  5. String message);

代码示例来源:origin: hibernate/hibernate-orm

  1. /**
  2. * Logs a warning about a malformed URL, caused by a {@link java.net.URISyntaxException}
  3. *
  4. * @param jarUrl The URL that lead to the {@link java.net.URISyntaxException}
  5. * @param e The underlying URISyntaxException
  6. */
  7. @LogMessage( level = WARN )
  8. @Message( value = "Malformed URL: %s", id = 10000001 )
  9. void logMalformedUrl(URL jarUrl, @Cause URISyntaxException e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = WARN)
  2. @Message(value = "Recognized obsolete hibernate namespace %s. Use namespace %s instead. Refer to Hibernate 3.6 Migration Guide!",
  3. id = 223)
  4. void recognizedObsoleteHibernateNamespace(
  5. String oldHibernateNamespace,
  6. String hibernateNamespace);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "Error in named query: %s", id = 177)
  3. void namedQueryError(
  4. String queryName,
  5. @Cause HibernateException e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "Exception calling user Synchronization [%s] : %s", id = 260)
  3. void synchronizationFailed(
  4. Synchronization synchronization,
  5. Throwable t);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = WARN)
  2. @Message(value = "Unable to apply constraints on DDL for %s", id = 274)
  3. void unableToApplyConstraints(
  4. String className,
  5. @Cause Exception e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = INFO)
  2. @Message(value = "Unable to determine lock mode value : %s -> %s", id = 311)
  3. void unableToDetermineLockModeValue(
  4. String hintName,
  5. Object value);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = WARN)
  2. @Message(value = "Could not close input stream for %s", id = 288)
  3. void unableToCloseInputStreamForResource(
  4. String resourceName,
  5. @Cause IOException e);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = WARN)
  2. @Message(value = "Unable to instantiate configured schema name resolver [%s] %s", id = 320)
  3. void unableToInstantiateConfiguredSchemaNameResolver(
  4. String resolverClassName,
  5. String message);

代码示例来源:origin: hibernate/hibernate-orm

  1. @LogMessage(level = ERROR)
  2. @Message(value = "Invalid JNDI name: %s", id = 135)
  3. void invalidJndiName(
  4. String name,
  5. @Cause JndiNameException e);

相关文章

Message类方法