public class InvalidTicketException extends AbstractTicketException
Constructor and Description |
---|
InvalidTicketException(java.lang.String ticketId)
Constructs a InvalidTicketException with the default exception code.
|
InvalidTicketException(java.lang.Throwable throwable,
java.lang.String ticketId)
Constructs a InvalidTicketException with the default exception code and
the original exception that was thrown.
|
getCode
public InvalidTicketException(java.lang.String ticketId)
ticketId
- the ticket id that originally caused this exception to be thrown.public InvalidTicketException(java.lang.Throwable throwable, java.lang.String ticketId)
throwable
- the chained exceptionticketId
- the ticket id that originally caused this exception to be thrown.