3518 |
20 Jun 07 |
nicklas |
1 |
<%-- $Id$ |
3518 |
20 Jun 07 |
nicklas |
2 |
------------------------------------------------------------------ |
3675 |
16 Aug 07 |
jari |
Copyright (C) 2007 Nicklas Nordborg |
3518 |
20 Jun 07 |
nicklas |
4 |
|
3518 |
20 Jun 07 |
nicklas |
5 |
This file is part of BASE - BioArray Software Environment. |
3518 |
20 Jun 07 |
nicklas |
6 |
Available at http://base.thep.lu.se/ |
3518 |
20 Jun 07 |
nicklas |
7 |
|
3518 |
20 Jun 07 |
nicklas |
8 |
BASE is free software; you can redistribute it and/or |
3518 |
20 Jun 07 |
nicklas |
9 |
modify it under the terms of the GNU General Public License |
4476 |
05 Sep 08 |
jari |
10 |
as published by the Free Software Foundation; either version 3 |
3518 |
20 Jun 07 |
nicklas |
11 |
of the License, or (at your option) any later version. |
3518 |
20 Jun 07 |
nicklas |
12 |
|
3518 |
20 Jun 07 |
nicklas |
13 |
BASE is distributed in the hope that it will be useful, |
3518 |
20 Jun 07 |
nicklas |
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
3518 |
20 Jun 07 |
nicklas |
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3518 |
20 Jun 07 |
nicklas |
16 |
GNU General Public License for more details. |
3518 |
20 Jun 07 |
nicklas |
17 |
|
3518 |
20 Jun 07 |
nicklas |
18 |
You should have received a copy of the GNU General Public License |
4510 |
11 Sep 08 |
jari |
19 |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
3518 |
20 Jun 07 |
nicklas |
20 |
------------------------------------------------------------------ |
3518 |
20 Jun 07 |
nicklas |
21 |
|
3518 |
20 Jun 07 |
nicklas |
22 |
This page is used to catch DuplicateWizardException which are |
3518 |
20 Jun 07 |
nicklas |
23 |
directed here via the exception.jsp page. This exception can be |
3518 |
20 Jun 07 |
nicklas |
24 |
thrown when a user tries to open more than one plug-in/job configuration |
3518 |
20 Jun 07 |
nicklas |
25 |
wizard at the same time. |
3518 |
20 Jun 07 |
nicklas |
26 |
|
3518 |
20 Jun 07 |
nicklas |
27 |
@author Nicklas |
3518 |
20 Jun 07 |
nicklas |
28 |
@version 2.4 |
3518 |
20 Jun 07 |
nicklas |
29 |
--%> |
5426 |
24 Sep 10 |
nicklas |
30 |
<%@ page pageEncoding="UTF-8" session="false" |
3518 |
20 Jun 07 |
nicklas |
31 |
isErrorPage="true" |
3518 |
20 Jun 07 |
nicklas |
32 |
%> |
3518 |
20 Jun 07 |
nicklas |
33 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" |
3518 |
20 Jun 07 |
nicklas |
34 |
%> |
3518 |
20 Jun 07 |
nicklas |
35 |
<% |
3518 |
20 Jun 07 |
nicklas |
36 |
Throwable t = exception; |
3518 |
20 Jun 07 |
nicklas |
37 |
//t is either a JasperException, a ServletException or a WebException; see exception.jsp |
3518 |
20 Jun 07 |
nicklas |
38 |
if (t instanceof org.apache.jasper.JasperException) |
3518 |
20 Jun 07 |
nicklas |
39 |
{ |
3518 |
20 Jun 07 |
nicklas |
40 |
t = ((org.apache.jasper.JasperException)t).getRootCause(); |
3518 |
20 Jun 07 |
nicklas |
41 |
} |
3518 |
20 Jun 07 |
nicklas |
42 |
if (t instanceof ServletException) |
3518 |
20 Jun 07 |
nicklas |
43 |
{ |
3518 |
20 Jun 07 |
nicklas |
44 |
t = ((ServletException)t).getRootCause(); |
3518 |
20 Jun 07 |
nicklas |
45 |
// t should now be an DuplicateWizardException |
3518 |
20 Jun 07 |
nicklas |
46 |
} |
3518 |
20 Jun 07 |
nicklas |
47 |
Throwable ex = t; |
3518 |
20 Jun 07 |
nicklas |
48 |
%> |
5956 |
13 Feb 12 |
nicklas |
49 |
<base:page type="popup" menu="exception" title="Another plug-in wizard is active"> |
6309 |
21 Aug 13 |
nicklas |
50 |
<base:head scripts="exception.js" /> |
6309 |
21 Aug 13 |
nicklas |
51 |
<base:body> |
3518 |
20 Jun 07 |
nicklas |
52 |
|
5956 |
13 Feb 12 |
nicklas |
53 |
<h1>Another plug-in configuration wizard is open</h1> |
5956 |
13 Feb 12 |
nicklas |
54 |
|
6610 |
20 Nov 14 |
nicklas |
55 |
<div class="content bg-filled-50 bottomborder"> |
5956 |
13 Feb 12 |
nicklas |
56 |
|
5956 |
13 Feb 12 |
nicklas |
57 |
<div class="messagecontainer error"> |
5956 |
13 Feb 12 |
nicklas |
58 |
<b>On page <%=request.getAttribute("javax.servlet.error.request_uri")%></b><br> |
5956 |
13 Feb 12 |
nicklas |
59 |
<%=ex.getMessage()%> |
5956 |
13 Feb 12 |
nicklas |
60 |
</div> |
3518 |
20 Jun 07 |
nicklas |
61 |
</div> |
3518 |
20 Jun 07 |
nicklas |
62 |
|
5956 |
13 Feb 12 |
nicklas |
63 |
<base:buttongroup subclass="dialogbuttons"> |
6309 |
21 Aug 13 |
nicklas |
64 |
<base:button id="continuePluginWizard" title="Continue" image="gonext.png" /> |
6309 |
21 Aug 13 |
nicklas |
65 |
<base:button id="close" title="Cancel" /> |
5956 |
13 Feb 12 |
nicklas |
66 |
</base:buttongroup> |
5956 |
13 Feb 12 |
nicklas |
67 |
|
3518 |
20 Jun 07 |
nicklas |
68 |
</base:body> |
3518 |
20 Jun 07 |
nicklas |
69 |
</base:page> |
3518 |
20 Jun 07 |
nicklas |
70 |
|