Search in sources :

Example 1 with io.vertx.up.exception._500InternalServerException

use of io.vertx.up.exception._500InternalServerException in project vertx-zero by silentbalanceyh.

the class ErrorTc method buildError.

@Test
public void buildError() {
    final WebException error = new _500InternalServerException(this.getClass(), "Error Internal");
    System.out.println(error);
    Assert.assertNotNull(error);
}
Also used : WebException(io.vertx.up.exception.WebException) io.vertx.up.exception._500InternalServerException(io.vertx.up.exception._500InternalServerException) Test(org.junit.Test)

Aggregations

WebException (io.vertx.up.exception.WebException)1 io.vertx.up.exception._500InternalServerException (io.vertx.up.exception._500InternalServerException)1 Test (org.junit.Test)1