diff -r 7546c836fd87 -r 4888f6212f94 components/visual-panels/apache/src/java/vpanels/app/apache/com/oracle/solaris/vp/panels/apache/client/swing/MainControl.java --- a/components/visual-panels/apache/src/java/vpanels/app/apache/com/oracle/solaris/vp/panels/apache/client/swing/MainControl.java Mon Oct 28 17:52:58 2013 -0700 +++ b/components/visual-panels/apache/src/java/vpanels/app/apache/com/oracle/solaris/vp/panels/apache/client/swing/MainControl.java Wed Oct 30 16:53:48 2013 -0400 @@ -20,7 +20,7 @@ */ /* - * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. */ package com.oracle.solaris.vp.panels.apache.client.swing; @@ -28,6 +28,7 @@ import java.awt.Component; import java.util.List; import javax.swing.*; +import com.oracle.solaris.rad.client.RadPrivilegeException; import com.oracle.solaris.scf.common.ScfException; import com.oracle.solaris.vp.panel.common.action.*; import com.oracle.solaris.vp.panel.common.control.*; @@ -40,7 +41,7 @@ import com.oracle.solaris.vp.util.swing.SimpleCellRenderer; public class MainControl extends ListSelectorControl { + ListSelectorPanel, ManagedObject> { // // Static data @@ -149,7 +150,7 @@ SmfUtil.throwActionException(e); throw new ActionFailedException(e); - } catch (SecurityException e) { + } catch (RadPrivilegeException e) { throw new ActionUnauthorizedException(e); }