public class PropertyException extends JAXBException
JAXBContext
, Validator
, Unmarshaller
, Serialized Form
Constructor and Description |
---|
PropertyException(String message)
使用指定的详细消息构造PropertyException。
|
PropertyException(String name, Object value)
构造一个PropertyException,其消息字段是基于属性的名称和value.toString()来设置的。
|
PropertyException(String message, String errorCode)
构造具有指定的详细消息和供应商特定的错误代码的PropertyException。
|
PropertyException(String message, String errorCode, Throwable exception)
使用指定的详细消息,供应商特定的错误代码和linkedException构造PropertyException。
|
PropertyException(String message, Throwable exception)
使用指定的详细消息和linkedException构造PropertyException。
|
PropertyException(Throwable exception)
使用linkedException构造PropertyException。
|
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
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
- 链接异常
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.