Class InvalidDataException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.deltava.service.xacars.InvalidDataException
All Implemented Interfaces:
Serializable

public class InvalidDataException extends Exception
An exception to flag invalid data while preserving code flow.
Since:
4.1
Version:
4.1
Author:
Luke
See Also:
  • Constructor Details

    • InvalidDataException

      InvalidDataException(String msg)
      Creates a new Exception.
      Parameters:
      msg - the exception message
  • Method Details

    • getResponse

      public String getResponse()
      Returns an XACARS-formatted message.
      Returns:
      the message prepended with a status code