Class ErrorFrame

  • All Implemented Interfaces:
    Transportable

    public class ErrorFrame
    extends VinciFrame
    This is a special VinciFrame that simplifies returning error or exceptional conditions. If a service returns an error frame, then the client's request method will in response throw an exception with the provided error_message. Returning an error frame from VinciServable.eval() has the same effect as throwing a ServiceException.
    • Constructor Detail

      • ErrorFrame

        public ErrorFrame​(String error_message)