import com.sibvisions.rad.application.Error; import jvx.rad.ui.container.IDesktopPanel; public class MyError extends Error { public MyError(IDesktopPanel pDesktop) throws Exception { super(pDesktop); //hide the details button getDetailsButton().setVisible(false); } }