Test Description and Specification for UnmarshalException tests

This exception indicates that an error has occured while performing an unmarshal operation that prevents the Jakarta XML Binding Provider from completing the operation.



public UnmarshalException(java.lang.String message)

Description

Domain testing of input and output conditions, and external pre-conditions for class UnmarshalException, constructor public UnmarshalException(java.lang.String message).

Assertion testing

Assertion Expected results Test Case ID
Construct a UnmarshalException with the specified detail message. the message is what set Ctor001
The errorCode will default to null. errorCode is null Ctor002
The linkedException will default to null. linkedException is null Ctor003

Test Descriptions


See:
Test descriptions for UnmarshalExceptionTests.java (Ctor001, Ctor002, Ctor003)


public UnmarshalException(java.lang.String message, java.lang.String errorCode)

Description

Domain testing of input and output conditions, and external pre-conditions for class UnmarshalException, constructor public UnmarshalException(java.lang.String message, java.lang.String errorCode).

Assertion testing

Assertion Expected results Test Case ID
Construct a UnmarshalException with the specified detail message. the message is what set Ctor004
Construct a UnmarshalException with the specified errorCode. the errorCode is what set Ctor005
The linkedException will default to null. linkedException is null Ctor006

Test Descriptions


See:
Test descriptions for UnmarshalExceptionTests.java (Ctor004, Ctor005, Ctor006)


public UnmarshalException(java.lang.String message, java.lang.String errorCode, java.lang.Throwable exception)

Description

Domain testing of input and output conditions, and external pre-conditions for class UnmarshalException, constructor public UnmarshalException(java.lang.String message, java.lang.String errorCode, java.lang.Throwable exception).

Assertion testing

Assertion Expected results Test Case ID
Construct a UnmarshalException with the specified detail message. the message is what set Ctor007
Construct a UnmarshalException with the specified errorCode. the errorCode is what set Ctor008
Construct a UnmarshalException with the specified linkedException. linkedException is what set Ctor009

Test Descriptions


See:
Test descriptions for UnmarshalExceptionTests.java (Ctor007, Ctor008, Ctor009)


public UnmarshalException(java.lang.String message, java.lang.Throwable exception)

Description

Domain testing of input and output conditions, and external pre-conditions for class UnmarshalException, constructor public UnmarshalException(java.lang.String message, java.lang.Throwable exception).

Assertion testing

Assertion Expected results Test Case ID
Construct a UnmarshalException with the specified detail message. the message is what set Ctor010
The errorCode will default to null. errorCode is null Ctor011
Construct a UnmarshalException with the specified linkedException. linkedException is what set Ctor012

Test Descriptions


See:
Test descriptions for UnmarshalExceptionTests.java (Ctor010, Ctor011, Ctor012)


public UnmarshalException(java.lang.Throwable exception)

Description

Domain testing of input and output conditions, and external pre-conditions for class UnmarshalException, constructor public UnmarshalException(java.lang.Throwable exception).

Assertion testing

Assertion Expected results Test Case ID
The detail message will default to null. the message is null Ctor013
The errorCode will default to null. errorCode is null Ctor014
Construct a UnmarshalException with the specified linkedException. linkedException is what set Ctor015

Test Descriptions

Test cases included:
Ctor001, Ctor002, Ctor003, Ctor004, Ctor005, Ctor006, Ctor007, Ctor008, Ctor009, Ctor010, Ctor011, Ctor012, Ctor013, Ctor014, Ctor015.

ItemValue
title General tests of constructors and methods
source UnmarshalExceptionTests.java
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.UnmarshalException.UnmarshalExceptionTests
keywords runtime positive
executeArgs -TestCaseID ALL


Last updated: 02/11/04
Copyright © 2017, 2020 Oracle and/or its affiliates. All rights reserved.