/** * Parses the beSecurity configuration file. * * @throws BackendSecurityParserException * If an error occurs in attempting to parse the beSecurity * configuration file. */ public BackendSecuritySpec parseBeSecurity() throws BackendSecurityParserException { try { BackendSecurityDeserializer bsd = new BackendSecurityDeserializer(m_encoding, m_validate); return bsd.deserialize(m_beSecurityPath); } catch (Throwable th) { throw new BackendSecurityParserException("[DefaultBackendSecurity] " + "An error has occured in parsing the backend security " + "configuration file located at \"" + m_beSecurityPath + "\". " + "The underlying error was a " + th.getClass().getName() + "The message was \"" + th.getMessage() + "\"."); } }
/** * Parses the beSecurity configuration file. * * @throws BackendSecurityParserException * If an error occurs in attempting to parse the beSecurity * configuration file. */ public BackendSecuritySpec parseBeSecurity() throws BackendSecurityParserException { try { BackendSecurityDeserializer bsd = new BackendSecurityDeserializer(m_encoding, m_validate); return bsd.deserialize(m_beSecurityPath); } catch (Throwable th) { throw new BackendSecurityParserException("[DefaultBackendSecurity] " + "An error has occured in parsing the backend security " + "configuration file located at \"" + m_beSecurityPath + "\". " + "The underlying error was a " + th.getClass().getName() + "The message was \"" + th.getMessage() + "\"."); } }