Class RemoveTravellerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.travelfacades.errors.exceptions.RemoveTravellerException
All Implemented Interfaces:
Serializable

public class RemoveTravellerException extends RuntimeException
Exception to be thrown when an error occurs during the evaluation of the remove traveller amendment or during the actual removal operations.
See Also:
  • Field Details

  • Constructor Details

    • RemoveTravellerException

      public RemoveTravellerException(String message, String reason)
      Instantiates a new Remove Traveller exception.
      Parameters:
      message - the message
      reason - the reason
    • RemoveTravellerException

      public RemoveTravellerException(String message, String reason, Throwable cause)
      Instantiates a new Remove Traveller exception.
      Parameters:
      message - the message
      reason - the reason
      cause - the cause
  • Method Details

    • getReason

      public String getReason()
      Gets reason.
      Returns:
      the reason