| 
 | JavaTM 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 Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。