构造器和说明 |
---|
Signal(java.lang.String name)
已过时。
Use
valueOf(String) instead. |
限定符和类型 | 方法和说明 |
---|---|
void |
expect(Signal signal)
Check if the given
Signal is the same as this instance. |
java.lang.Throwable |
fillInStackTrace() |
java.lang.Throwable |
initCause(java.lang.Throwable cause) |
java.lang.String |
toString() |
static Signal |
valueOf(java.lang.String name)
Creates a new
Signal with the specified name . |
@Deprecated public Signal(java.lang.String name)
valueOf(String)
instead.public static Signal valueOf(java.lang.String name)
Signal
with the specified name
.public void expect(Signal signal)
Signal
is the same as this instance. If not an IllegalStateException
will
be thrown.public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause
在类中 java.lang.Throwable
public java.lang.Throwable fillInStackTrace()
fillInStackTrace
在类中 java.lang.Throwable
public java.lang.String toString()
toString
在类中 java.lang.Throwable