org.nlogo.agent
Interface Importer.ErrorHandler

Enclosing class:
Importer

public static interface Importer.ErrorHandler


Method Summary
 boolean showError(String title, String errorDetails, boolean fatalError)
          display an error to the user in an appropriate manner.
 

Method Detail

showError

boolean showError(String title,
                  String errorDetails,
                  boolean fatalError)
display an error to the user in an appropriate manner.

Parameters:
title - indicates the type of error.
errorDetails - indicates the details of the error and what course of action will be pursued.
fatalError - true if this error is considered a fata error. false otherwise.
Returns:
true if the user wishes to continue with the action suggested in the errorDetails. false if the user doesn't want to continue. if fatalError is true, the return value will be ignored.