/** * Loads an agent library. * <p/> * This convenience method works as if by invoking: * <p/> * <blockquote><tt> * {@link #loadAgentLibrary(String, String) loadAgentLibrary}(agentLibrary, null); * </tt></blockquote> * * @param agentLibrary The name of the agent library. * @throws AgentLoadException If the agent library does not exist, or cannot be loaded for * another reason. * @throws AgentInitializationException If the <code>Agent_OnAttach</code> function returns an error * @throws IOException If an I/O error occurs * @throws NullPointerException If <code>agentLibrary</code> is <code>null</code>. */ public void loadAgentLibrary(String agentLibrary) throws AgentLoadException, AgentInitializationException, IOException { loadAgentLibrary(agentLibrary, null); }
/** * Loads an agent library. * <p/> * This convenience method works as if by invoking: * <p/> * <blockquote><tt> * {@link #loadAgentLibrary(String, String) loadAgentLibrary}(agentLibrary, null); * </tt></blockquote> * * @param agentLibrary The name of the agent library. * @throws AgentLoadException If the agent library does not exist, or cannot be loaded for * another reason. * @throws AgentInitializationException If the {@code Agent_OnAttach} function returns an error * @throws IOException If an I/O error occurs * @throws NullPointerException If {@code agentLibrary} is {@code null}. */ public void loadAgentLibrary(String agentLibrary) throws AgentLoadException, AgentInitializationException, IOException { loadAgentLibrary(agentLibrary, null); }