org.jboss.logging.annotations.Message.<init>()方法的使用及代码示例

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

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

Message.<init>介绍

暂无

代码示例

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

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

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

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

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

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

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

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

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

@LogMessage(level = DEBUG)
@Message(value = "HQL: %s, time: %sms, rows: %s", id = 117)
void hql(
    String hql,
    Long valueOf,
    Long valueOf2);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

相关文章