001 package railo.transformer.util; 002 003 import java.io.IOException; 004 import java.io.InputStream; 005 006 import railo.commons.io.res.Resource; 007 008 public class AlreadyClassException extends IOException { 009 010 private Resource res; 011 012 public AlreadyClassException(Resource resource) { 013 this.res = resource; 014 } 015 016 public InputStream getInputStream() throws IOException { 017 return res.getInputStream(); 018 } 019 020 }