This exception indicates that an error was encountered while getting or setting a property.
public PropertyException(java.lang.String message)
public PropertyException(java.lang.String name, java.lang.Object value)
public PropertyException(java.lang.String message, java.lang.String errorCode)
public PropertyException(java.lang.String message, java.lang.String errorCode, java.lang.Throwable exception)
public PropertyException(java.lang.String message, java.lang.Throwable exception)
public PropertyException(java.lang.Throwable exception)
public PropertyException(java.lang.String message)
Domain testing of input and output conditions, and external
pre-conditions for class PropertyException,
constructor public PropertyException(java.lang.String message)
.
Assertion | Expected results | Test Case ID |
---|---|---|
Construct a PropertyException 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 |
public PropertyException(java.lang.String name, java.lang.Object value)
Domain testing of input and output conditions, and external
pre-conditions for class PropertyException,
constructor public PropertyException(java.lang.String name, java.lang.Object value)
.
Assertion | Expected results | Test Case ID |
---|---|---|
Construct a PropertyException with the message field set based on the name of the property and value.toString(). | the message is what set | Ctor016 |
The errorCode will default to null. | errorCode is null | Ctor017 |
The linkedException will default to null. | linkedException is null | Ctor018 |
Test cases included:
Ctor001,
Ctor002,
Ctor003,
Ctor004,
Ctor005,
Ctor006,
Ctor007,
Ctor008,
Ctor009,
Ctor010,
Ctor011,
Ctor012,
Ctor013,
Ctor014,
Ctor015,
Ctor016,
Ctor017,
Ctor018.
Item | Value |
---|---|
title | General tests of constructors and methods |
source | PropertyExceptionTests.java |
executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.PropertyException.PropertyExceptionTests |
keywords | runtime positive |
executeArgs | -TestCaseID ALL |
public PropertyException(java.lang.String message, java.lang.String errorCode)
Domain testing of input and output conditions, and external
pre-conditions for class PropertyException,
constructor public PropertyException(java.lang.String message, java.lang.String errorCode)
.
Assertion | Expected results | Test Case ID |
---|---|---|
Construct a PropertyException with the specified detail message. | the message is what set | Ctor004 |
Construct a PropertyException with the specified errorCode. | the errorCode is what set | Ctor005 |
The linkedException will default to null. | linkedException is null | Ctor006 |
public PropertyException(java.lang.String message, java.lang.String errorCode, java.lang.Throwable exception)
Domain testing of input and output conditions, and external
pre-conditions for class PropertyException,
constructor public PropertyException(java.lang.String message, java.lang.String errorCode, java.lang.Throwable exception)
.
Assertion | Expected results | Test Case ID |
---|---|---|
Construct a PropertyException with the specified detail message. | the message is what set | Ctor007 |
Construct a PropertyException with the specified errorCode. | the errorCode is what set | Ctor008 |
Construct a PropertyException with the specified linkedException. | linkedException is what set | Ctor009 |
public PropertyException(java.lang.String message, java.lang.Throwable exception)
Domain testing of input and output conditions, and external
pre-conditions for class PropertyException,
constructor public PropertyException(java.lang.String message, java.lang.Throwable exception)
.
Assertion | Expected results | Test Case ID |
---|---|---|
Construct a PropertyException with the specified detail message. | the message is what set | Ctor010 |
The errorCode will default to null. | errorCode is null | Ctor011 |
Construct a PropertyException with the specified linkedException. | linkedException is what set | Ctor012 |
public PropertyException(java.lang.Throwable exception)
Domain testing of input and output conditions, and external
pre-conditions for class PropertyException,
constructor public PropertyException(java.lang.Throwable exception)
.
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 PropertyException with the specified linkedException. | linkedException is what set | Ctor015 |