Examples of ErrorInfo


Examples of org.jdesktop.swingx.error.ErrorInfo

    @Override
    public void executedActionFailed(Action action, SalsaException exception) {
        if (showError) {
            JXErrorPane.showDialog(this,
                    new ErrorInfo("Execution error", "Failed to execute " + action, exception.getMessage(), "SalsaAPI",
                            exception, Level.WARNING, null));
        }
    }
View Full Code Here

Examples of org.jdesktop.swingx.error.ErrorInfo

    }

    @Override
    public void executedActionFailed(Action action, SalsaException exception) {
        JXErrorPane.showDialog(this,
                new ErrorInfo("Execution error", "Failed to execute " + action, exception.getMessage(), "SalsaAPI",
                        exception, Level.WARNING, null));

    }
View Full Code Here

Examples of org.jdesktop.swingx.error.ErrorInfo

    @Override
    public void executedActionFailed(Action action, SalsaException exception) {
        if (showError) {
            JXErrorPane.showDialog(this,
                    new ErrorInfo("Execution error", "Failed to execute " + action, exception.getMessage(), "SalsaAPI",
                            exception, Level.WARNING, null));
        }
    }
View Full Code Here

Examples of org.jdesktop.swingx.error.ErrorInfo

    @Override
    public void executedActionFailed(Action action, SalsaException exception) {
        if (showError) {
            JXErrorPane.showDialog(this,
                    new ErrorInfo("Execution error", "Failed to execute " + action, exception.getMessage(), "SalsaAPI",
                            exception, Level.WARNING, null));
        }
    }
View Full Code Here

Examples of org.jdesktop.swingx.error.ErrorInfo

    /**
     * Shows the {@link JXErrorPane} to the user.
     */
    public void notifyUserAboutException(Thread thread, Throwable throwable) {
        ErrorInfo errorInfo = new ErrorInfo(
                resolveExceptionCaption(throwable),
                (String) createExceptionContent(throwable),
                getDetailsAsHTML(throwable.getMessage(), logLevel, throwable),
                null, throwable, logLevel.getJdkLogLevel(), null);
        JXErrorPane pane = new JXErrorPane();
View Full Code Here

Examples of org.mifosplatform.batch.exception.ErrorInfo

        } catch (RuntimeException e) {

            // Gets an object of type ErrorInfo, containing information about
            // raised exception
            ErrorInfo ex = ErrorHandler.handler(e);

            response.setStatusCode(ex.getStatusCode());
            response.setBody(ex.getMessage());
        }

        return response;
    }
View Full Code Here

Examples of org.openquark.cal.compiler.Expression.ErrorInfo

        for(Iterator<Expression.Switch.SwitchAlt> i = altsList.iterator(); i.hasNext();){
            alts[iAlts++] = i.next();
        }
     
        /* TODO Add the error info back in */
        return new Expression.Switch(expression, alts, new ErrorInfo(QualifiedName.make(ModuleName.make("OptimizerHelper"), "todo"), 1, 1));

    }
View Full Code Here

Examples of org.openquark.cal.runtime.ErrorInfo

        Expression[] argumentExpressions = new Expression [nArguments];
        for (int i = 0; i < nArguments; ++i) {
            argumentExpressions[i] = appChain[i+1];
        }
       
        ErrorInfo errorInfo = null;
        if (var.getErrorInfo() != null){
            Expression.ErrorInfo ei = var.getErrorInfo();
            errorInfo = new ErrorInfo(ei.getTopLevelFunctionName(), ei.getLine(), ei.getColumn());
        }
        return new BasicOpTuple (info == null ? PrimOps.PRIMOP_FOREIGN_FUNCTION : info.getCode(), foreignFunctionInfo, errorInfo, argumentExpressions, var.getName());                    
    }   
View Full Code Here

Examples of org.openrdf.http.protocol.error.ErrorInfo

public class MalformedQuery extends BadRequest {

  private static final long serialVersionUID = -6836412684686503188L;

  public MalformedQuery(String msg) {
    super(new ErrorInfo(ErrorType.MALFORMED_QUERY, msg).toString());
  }
View Full Code Here

Examples of org.openrdf.http.protocol.error.ErrorInfo

public class UnsupportedQueryLanguage extends BadRequest {

  private static final long serialVersionUID = -4486188821642629533L;

  public UnsupportedQueryLanguage(String msg) {
    super(new ErrorInfo(ErrorType.UNSUPPORTED_QUERY_LANGUAGE, msg).toString());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.