package greenfoot.util;
| Indicates a problem with accessing the storage
|
| This indicates that there was a problem reading from/writing to the storage, typically:
|
| <ul>
| <li>A problem accessing the CSV file in the local storage (e.g. bad permissions, disconnected USB stick)
| <li>A problem accessing the Gallery storage (may be caused by maintenance work on the gallery)
| <li>If storage is not supported, this exception will be thrown every time.
| </ul>
|
| In general, the way to deal with this exception is to live with not using
| storage for this session. Warn the user that their data cannot be loaded/saved,
| and proceed as best as you can.
|
public class GreenfootStorageException
extends Exception{
public GreenfootStorageException(String message)
{
super(message);
}
}
top,
use,
map,
class GreenfootStorageException
. GreenfootStorageException
9 neLoCode
+ 12 LoComm