@Test public void getLastException() throws Exception { Exception exception = new Exception("test"); executionContext.setProperty(WikiTemplateManagerScript.CONTEXT_LASTEXCEPTION, exception); assertEquals(exception, mocker.getComponentUnderTest().getLastException()); }
@Deprecated public Exception getLastException() { return (Exception) this.execution.getContext().getProperty(CONTEXT_LASTEXCEPTION); }
WikiTemplateManagerScript implements ScriptService { @Deprecated public Exception getLastException() { return (Exception) this.execution.getContext().getProperty(CONTEXT_LASTEXCEPTION); } }
WikiTemplateManagerScript implements ScriptService { @Deprecated public Exception getLastException() { return (Exception) this.execution.getContext().getProperty(CONTEXT_LASTEXCEPTION); }  }
WikiTemplateManagerScript implements ScriptService { @Deprecated public Exception getLastException() { return (Exception) this.execution.getContext().getProperty(CONTEXT_LASTEXCEPTION); }  Exception getLastError(); Collection<WikiDescriptor> getTemplates(); boolean setTemplate(String wikiId, boolean value); Boolean isTemplate(String wikiId); @Deprecated boolean createWikiFromTemplate(String newWikiId, String newWikiAlias,
            String templateId, String ownerId, boolean failOnExist); @Deprecated Exception getLastException(); @Deprecated JobStatus getWikiProvisioningJobStatus(List<String> jobId); }
WikiTemplateManagerScript implements ScriptService { @Deprecated public Exception getLastException() { return (Exception) this.execution.getContext().getProperty(CONTEXT_LASTEXCEPTION); }  Exception getLastError(); Collection<WikiDescriptor> getTemplates(); boolean setTemplate(String wikiId, boolean value); Boolean isTemplate(String wikiId); @Deprecated boolean createWikiFromTemplate(String newWikiId, String newWikiAlias,
            String templateId, String ownerId, boolean failOnExist); @Deprecated Exception getLastException(); @Deprecated JobStatus getWikiProvisioningJobStatus(List<String> jobId); @Deprecated
    static final String CONTEXT_LASTEXCEPTION; }