001    package core;
002    
003    /**
004     * An exception with a user readable error message about what went wrong with
005     * loading a file.
006     */
007    public class GameLoadException extends Exception
008    {
009            public static final long serialVersionUID = 45344;
010    
011            /**
012             * Creates an exception with a user readable error message about what went
013             * wrong with loading a file.
014             * 
015             * @param s
016             *            user readable error message
017             */
018            public GameLoadException(String s)
019            {
020                    super(s);
021            }
022    
023            /**
024             * Creates an exception with a user readable error message about what went
025             * wrong with loading a file, and keeps the throwable that lead to the
026             * exception.
027             * 
028             * @param s
029             *            user readable error message
030             * @param t
031             *            exception that caused this,
032             */
033            public GameLoadException(String s, Throwable t)
034            {
035                    super(s, t);
036            }
037    }