Package xdoclet.template

Examples of xdoclet.template.TemplateException


            engine.setTemplateURL(new File(fromFile).toURL());
            engine.setOutput(new File(toFile));
            engine.start();
        }
        catch (MalformedURLException e) {
            throw new TemplateException(e.getMessage());
        }
    }
View Full Code Here


            if (e.getNestedException() != null) {
                e.getNestedException().printStackTrace();
            }

            if (e.getNestedException() instanceof TemplateException) {
                TemplateException te = (TemplateException) e.getNestedException();

                if (log.isDebugEnabled()) {
                    log.error("Template Exception = " + te);
                    log.error("Nested Exception = " + te.getNestedException());
                }
            }
            throw e;
        }
    }
View Full Code Here

TOP

Related Classes of xdoclet.template.TemplateException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.