|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.bind.JAXBException
javax.xml.bind.PropertyException
public class PropertyException
此異常指示在獲取或設置屬性時遇到一個錯誤。
JAXBContext,
Validator,
Unmarshaller,
序列化表格| 建構子摘要 | |
|---|---|
PropertyException(String message)
建構帶指定詳細訊息的 PropertyException。 |
|
PropertyException(String name,
Object value)
建構一個基於屬性名稱和 value.toString() 設置其訊息欄位的 PropertyException。 |
|
PropertyException(String message,
String errorCode)
建構帶指定詳細訊息和特定於供應商的 errorCode 的 PropertyException。 |
|
PropertyException(String message,
String errorCode,
Throwable exception)
建構帶指定的詳細訊息、特定於供應商的 errorCode 和 linkedException 的 PropertyException。 |
|
PropertyException(String message,
Throwable exception)
建構帶指定詳細訊息和 linkedException 的 PropertyException。 |
|
PropertyException(Throwable exception)
建構帶有一個 linkedException 的 PropertyException。 |
|
| 方法摘要 |
|---|
| 從類別 javax.xml.bind.JAXBException 繼承的方法 |
|---|
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toString |
| 從類別 java.lang.Throwable 繼承的方法 |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public PropertyException(String message)
message - 對異常的描述
public PropertyException(String message,
String errorCode)
message - 對異常的描述errorCode - 指定特定於供應商的錯誤程式碼的字元串public PropertyException(Throwable exception)
exception - 連接的異常
public PropertyException(String message,
Throwable exception)
message - 對異常的描述exception - 連接的異常
public PropertyException(String message,
String errorCode,
Throwable exception)
message - 對異常的描述errorCode - 指定特定於供應商的錯誤程式碼的字元串exception - 連接的異常
public PropertyException(String name,
Object value)
name - 與此異常相關的屬性的名稱value - 與此異常相關的屬性的值
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。