use of jakarta.ws.rs.InternalServerErrorException in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method constructorStringTest.
/*
* @testName: constructorStringTest
*
* @assertion_ids: JAXRS:JAVADOC:1070;
*
* @test_Strategy: message - the detail message (which is saved for later
* retrieval by the Throwable.getMessage() method).
*/
@Test
public void constructorStringTest() throws Fault {
InternalServerErrorException e = new InternalServerErrorException(MESSAGE);
assertMessage(e);
assertResponse(e);
}
use of jakarta.ws.rs.InternalServerErrorException in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method constructorTest.
/*
* @testName: constructorTest
*
* @assertion_ids: JAXRS:JAVADOC:319; JAXRS:JAVADOC:12;
*
* @test_Strategy: Construct a new internal server error exception.
*
* getResponse
*/
@Test
public void constructorTest() throws Fault {
InternalServerErrorException e = new InternalServerErrorException();
assertResponse(e);
}
Aggregations