WoffFormatException
内容
[
隐藏
]Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.IllegalStateException
public class WoffFormatException extends IllegalStateException
表示与 WOFF 字体处理相关的异常。
构造函数
| 构造函数 | 描述 |
|---|---|
| WoffFormatException() | 初始化新的 WoffFormatException 对象。 |
| WoffFormatException(String message) | 初始化新的 WoffFormatException 对象。 |
| WoffFormatException(String message, RuntimeException innerException) | 初始化新的 WoffFormatException 对象。 |
方法
WoffFormatException()
public WoffFormatException()
初始化新的 WoffFormatException 对象。
WoffFormatException(String message)
public WoffFormatException(String message)
初始化新的 WoffFormatException 对象。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| message | java.lang.String | 描述错误的消息。 |
WoffFormatException(String message, RuntimeException innerException)
public WoffFormatException(String message, RuntimeException innerException)
初始化新的 WoffFormatException 对象。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| message | java.lang.String | 描述错误的消息。 |
| innerException | java.lang.RuntimeException | 导致当前异常的根本异常。 |
addSuppressed(Throwable arg0)
public final synchronized void addSuppressed(Throwable arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Throwable |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
fillInStackTrace()
public synchronized Throwable fillInStackTrace()
Returns: java.lang.Throwable
getCause()
public synchronized Throwable getCause()
Returns: java.lang.Throwable
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getLocalizedMessage()
public String getLocalizedMessage()
Returns: java.lang.String
getMessage()
public String getMessage()
Returns: java.lang.String
getStackTrace()
public StackTraceElement[] getStackTrace()
Returns: java.lang.StackTraceElement[]
getSuppressed()
public final synchronized Throwable[] getSuppressed()
Returns: java.lang.Throwable[]
hashCode()
public native int hashCode()
Returns: int
initCause(Throwable arg0)
public synchronized Throwable initCause(Throwable arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Throwable |
Returns: java.lang.Throwable
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
printStackTrace()
public void printStackTrace()
printStackTrace(PrintStream arg0)
public void printStackTrace(PrintStream arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.io.PrintStream |
printStackTrace(PrintWriter arg0)
public void printStackTrace(PrintWriter arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.io.PrintWriter |
setStackTrace(StackTraceElement[] arg0)
public void setStackTrace(StackTraceElement[] arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.StackTraceElement[] |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |