本文整理汇总了Java中org.jboss.logging.annotations.Message类的典型用法代码示例。如果您正苦于以下问题:Java Message类的具体用法?Java Message怎么用?Java Message使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Message类属于org.jboss.logging.annotations包,在下文中一共展示了Message类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: unexpectedKeyVersion
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@Message(id = 1701, value = "Cannot unmarshal key of type %1$s written by a newer version of Hibernate OGM."
+ " Expecting version %3$s but found version %2$s.")
HibernateException unexpectedKeyVersion(Class<?> clazz, int version, int supportedVersion);
示例2: unsupportedProtocol
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@Message(id = 2016, value = "Could not find supported protocol in request list %s. Supported protocols are %s")
WebSocketHandshakeException unsupportedProtocol(String requestedSubprotocols, Collection<String> subprotocols);
示例3: factoryBoundToJndiName
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(value = "Bound factory to JNDI name: %s", id = 94)
void factoryBoundToJndiName(String name);
示例4: namedQueryError
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = ERROR)
@Message(value = "Error in named query: %s", id = 177)
void namedQueryError(String queryName,
@Cause HibernateException e);
示例5: usingUuidHexGenerator
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "Using %s which does not generate IETF RFC 4122 compliant UUID values; consider using %s instead",
id = 409)
void usingUuidHexGenerator(String name,
String name2);
示例6: maxQueryTime
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(value = "Max query time: %sms", id = 173)
void maxQueryTime(long queryExecutionMaxTime);
示例7: unableToCloseIterator
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(value = "Unable to close iterator", id = 289)
void unableToCloseIterator(@Cause SQLException e);
示例8: configuringFromResource
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(value = "Configuring from resource: %s", id = 43)
void configuringFromResource(String resource);
示例9: unexpectedRowCounts
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "JDBC driver did not return the expected number of row counts", id = 381)
void unexpectedRowCounts();
示例10: unableToRollbackConnection
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = INFO)
@Message(value = "Unable to rollback connection on exception [%s]", id = 363)
void unableToRollbackConnection(Exception ignore);
示例11: exceptionReadingFile
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = Logger.Level.INFO)
@Message(id = 5002, value = "Exception reading file %s: %s")
void exceptionReadingFile(final File file, final IOException e);
示例12: beforeTransactionCompletion
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = ERROR)
@Message(value = "Exception in interceptor beforeTransactionCompletion()", id = 88)
void exceptionInBeforeTransactionCompletionInterceptor(@Cause Throwable e);
示例13: unableToWriteCachedFile
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@LogMessage(level = WARN)
@Message(value = "I/O reported error writing cached file : %s: %s", id = 378)
void unableToWriteCachedFile(String path,
String message);
示例14: couldNotDecodeTrailers
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@Message(id = 42, value = "Could not decode trailers in HTTP request")
IOException couldNotDecodeTrailers();
示例15: closedBeforeAllBytesWereRead
import org.jboss.logging.annotations.Message; //导入依赖的package包/类
@Message(id = 2025, value = "Closed before all bytes where read")
IOException closedBeforeAllBytesWereRead();