Skip to main content
Ctrl+K
Logo image
  • Home
  • Documentation
  • FAQ
  • Users
  • Developers
  • Download
  • Bugs
  • Recent Changes
  • .rst

Creating Web Services

Contents

  • Creating Web Services
    • Custom Exception Message
  • References

Creating Web Services#

Custom Exception Message#

Response response = Response.status(Response.Status.FORBIDDEN)
    .entity("Invalid password").build();

throw new WebApplicationException(response);

References#

  • Java(TM) EE 7 Specification APIs

  • Java

  • Web Container

Contents
  • Creating Web Services
    • Custom Exception Message
  • References

By Dogtag PKI Team

© Copyright 2023, Dogtag PKI Team.