Package org.eclipse.wb.internal.core.utils.exception

Examples of org.eclipse.wb.internal.core.utils.exception.FatalDesignerException


      Object[] argumentValues) {
    // Panel.add(Widget) throws exception, so make it fatal
    if (ReflectionUtils.getMethodSignature(method).equals(
        "add(com.google.gwt.user.client.ui.Widget)")) {
      if (method.getDeclaringClass().getName().equals("com.google.gwt.user.client.ui.Panel")) {
        FatalDesignerException e =
            new FatalDesignerException(IExceptionConstants.PANEL_ADD_INVOCATION,
                invocation.toString());
        e.setSourcePosition(invocation.getStartPosition());
        throw e;
      }
    }
    return AstEvaluationEngine.UNKNOWN;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.wb.internal.core.utils.exception.FatalDesignerException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.