public class PropertyException extends JAXBException
JAXBContext
,
Validator
,
Unmarshaller
,
Serialized Form
Constructor and Description |
---|
PropertyException(String message)
构建一个propertyexception指定详细信息。
|
PropertyException(String name, Object value)
构建一个propertyexception的消息字段设置基于属性和值的名称。tostring()。
|
PropertyException(String message, String errorCode)
构建一个propertyexception指定详细信息和供应商特定的错误代码。
|
PropertyException(String message, String errorCode, Throwable exception)
构建指定详细信息的一个propertyexception,供应商特定的错误代码,并linkedexception。
|
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.