private bool isCauseAuthenticationException(TicketException e) { return e.getCode() != null && typeof(AuthenticationException).IsAssignableFrom(e.GetType()); }
private AuthenticationException getAuthenticationExceptionAsCause(TicketException e) { throw new NotImplementedException(); //return (AuthenticationException)e; }
private string getAuthenticationExceptionEventId(TicketException e) { AuthenticationException authEx = this.getAuthenticationExceptionAsCause(e); //if (this.logger.isDebugEnabled()) // this.logger.debug("An authentication error has occurred. Returning the event id " + authEx.getType()); return authEx.getType(); }
private void populateErrorsInstance(TicketException e, MessageContext messageContext) { //try //{ // messageContext.addMessage(new MessageBuilder().error().code(e.getCode()).defaultText(e.getCode()).build()); //} //catch (Exception fe) //{ // logger.error(fe.getMessage(), fe); //} }