public class EventException extends RuntimeException
EventException
作为他们的方法描述指定。
Modifier and Type | Field and Description |
---|---|
short |
code |
static short |
UNSPECIFIED_EVENT_TYPE_ERR
如果
Event 的类型没有初始化之前的事件被称为方法指定。
|
Constructor and Description |
---|
EventException(short code, String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public short code
public static final short UNSPECIFIED_EVENT_TYPE_ERR
Event
的类型没有初始化之前的事件被称为方法指定。这个事件的类型
null
或空字符串规范也会引发此异常。
public EventException(short code, String message)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.