mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed several misspellings, changed occured to occurred.
This commit is contained in:
@@ -85,7 +85,7 @@ DownloadPictures/errors/other=You must be connected to the Internet. Error downl
|
|||||||
|
|
||||||
ErrorViewer/show=Stack Report
|
ErrorViewer/show=Stack Report
|
||||||
ErrorViewer/title=Error
|
ErrorViewer/title=Error
|
||||||
ErrorViewer/message=An error has occured. You can copy/paste this message or save it to a file.\n\
|
ErrorViewer/message=An error has occurred. You can copy/paste this message or save it to a file.\n\
|
||||||
Please report this, plus what you tried to do, to:\n\
|
Please report this, plus what you tried to do, to:\n\
|
||||||
\t%s\n\
|
\t%s\n\
|
||||||
If you don't want to register an account, you can mail it directly to\n\
|
If you don't want to register an account, you can mail it directly to\n\
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import forge.properties.NewConstants;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The class ErrorViewer. Enables showing and saving error messages that occured in forge.
|
* The class ErrorViewer. Enables showing and saving error messages that occurred in forge.
|
||||||
*
|
*
|
||||||
* @version V1.0 02.08.2009
|
* @version V1.0 02.08.2009
|
||||||
* @author Clemens Koza
|
* @author Clemens Koza
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ public class ForgeProps {
|
|||||||
//exceptions are skipped here; also the error viewer uses this, and reporting exceptions may result
|
//exceptions are skipped here; also the error viewer uses this, and reporting exceptions may result
|
||||||
//in a more fatal error (stack overflow)
|
//in a more fatal error (stack overflow)
|
||||||
} catch(Exception ex) {}
|
} catch(Exception ex) {}
|
||||||
//if no property was found, or an error occured, return the default value
|
//if no property was found, or an error occurred, return the default value
|
||||||
return def;
|
return def;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -421,7 +421,7 @@ public abstract class AbstractPainter<T> extends AbstractBean implements Painter
|
|||||||
doPaint(g, obj, width, height);
|
doPaint(g, obj, width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
//painting has occured, so restore the dirty bit to false
|
//painting has occurred, so restore the dirty bit to false
|
||||||
setDirty(false);
|
setDirty(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -200,12 +200,12 @@ public class TreeProperties implements Iterable<PropertyElement> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If exceptions occured during construction, this method throws an IOException that combines the messages of
|
* If exceptions occurred during construction, this method throws an IOException that combines the messages of
|
||||||
* those exceptions.
|
* those exceptions.
|
||||||
*/
|
*/
|
||||||
public void rethrow() throws IOException {
|
public void rethrow() throws IOException {
|
||||||
if(exceptions.isEmpty()) return;
|
if(exceptions.isEmpty()) return;
|
||||||
StringBuilder sb = new StringBuilder("The following exceptions occured:");
|
StringBuilder sb = new StringBuilder("The following exceptions occurred:");
|
||||||
for(Exception ex:exceptions) {
|
for(Exception ex:exceptions) {
|
||||||
sb.append("\n");
|
sb.append("\n");
|
||||||
sb.append(ex.getMessage());
|
sb.append(ex.getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user