/** * $RCSfile$ * $Revision: $ * $Date: $ * * Copyright (C) 2006 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution. */packageorg.jivesoftware.openfire.http;/** * */publicclassHttpBindExceptionextendsException{privateBoshBindingErrorerror;publicHttpBindException(Stringmessage,BoshBindingErrorerror){super(message);this.error=error;}publicBoshBindingErrorgetBindingError(){returnerror;}publicbooleanshouldCloseSession(){returnerror.getErrorType()==BoshBindingError.Type.terminal;}}