/**
  * Loads a question resource into memory.
  *
  * @param sName Name of resource (may be relative path including /; may not be absolute path
  *     beginning /)
  * @return Byte array containing entire resource
  * @throws IOException If the resource doesn't exist or there's another problem
  */
 public byte[] loadResource(String sName) throws IOException {
   if (sName.startsWith("/"))
     throw new IllegalArgumentException("loadResource with class reference must be relative name");
   if (sResourcePath != null) return IO.loadResource(ip.getClassLoader(), sResourcePath + sName);
   else {
     return IO.loadResource(getClass(), sName);
   }
 }