Module  java.xml.bind
软件包  javax.xml.bind

Class UnmarshalException

    • 构造方法详细信息

      • UnmarshalException

        public UnmarshalException​(String message)
        使用指定的详细消息构造UnmarshalException。 errorCode和linkedException将默认为null。
        参数
        message - 异常的描述
      • UnmarshalException

        public UnmarshalException​(String message,
                                  String errorCode)
        使用指定的详细消息和供应商特定的错误代码构造UnmarshalException。 linkedException将默认为null。
        参数
        message - 异常的描述
        errorCode - 指定供应商特定错误代码的字符串
      • UnmarshalException

        public UnmarshalException​(Throwable exception)
        使用linkedException构造UnmarshalException。 详细消息和供应商特定的错误代码将默认为null。
        参数
        exception - 链接异常
      • UnmarshalException

        public UnmarshalException​(String message,
                                  Throwable exception)
        使用指定的详细消息和linkedException构造UnmarshalException。 errorCode将默认为null。
        参数
        message - 异常的描述
        exception - 链接异常
      • UnmarshalException

        public UnmarshalException​(String message,
                                  String errorCode,
                                  Throwable exception)
        构造具有指定的详细消息,供应商特定的错误代码和linkedException的UnmarshalException。
        参数
        message - 异常的描述
        errorCode - 指定供应商特定错误代码的字符串
        exception - 链接异常