package com.decker.Essentials;

import java.io.IOException;
import java.io.InputStream;

public class ResourceManager
{

    private ResourceManager()
    {

    }

    public static ResourceManager _Instance;

    public static ResourceManager getInstance()
    {
	if (_Instance == null)
	{
	    _Instance = new ResourceManager();
	}
	return _Instance;
    }

    public byte[] getResource(String resourceName) throws IOException
    {
	InputStream is = this.getClass().getResourceAsStream("/" + resourceName);

	return sun.misc.IOUtils.readFully(is, -1, true);

    }

}
@@ -433,28 +433,10 @@
 me) 
-throws IOException
 %0D%0A
+
     
@@ -517,16 +517,30 @@
 e);%0D%0A%0D%0A%09
+try%0D%0A%09%7B%0D%0A%09    
 return s
@@ -580,16 +580,82 @@
  true);%0D
+%0A%09%7D catch (IOException e)%0D%0A%09%7B%09    %0D%0A%09    return new byte %5B0%5D;%0D%0A%09%7D%0D
 %0A%0D%0A    %7D

Fix exception catch