List of usage examples for org.apache.commons.lang.exception NestableError NestableError
public NestableError(String msg, Throwable cause)
NestableError
with specified detail message and nested Throwable
. From source file:org.eclipse.wb.internal.swing.laf.ui.LafSelectionItem.java
/** * Handles the possibly thrown {@link Throwable} during refresh. *//*from w ww . ja v a2 s . c om*/ private void handleException(Throwable ex) throws NestableError { IDesignPageSite site = IDesignPageSite.Helper.getSite(m_componentInfo); if (site != null) { site.handleException(ex); } else { throw new NestableError( MessageFormat.format(ModelMessages.LafSelectionItem_noDesignPage, m_componentInfo), ex); } }