Example usage for javax.xml.transform TransformerException getLocationAsString

List of usage examples for javax.xml.transform TransformerException getLocationAsString

Introduction

In this page you can find the example usage for javax.xml.transform TransformerException getLocationAsString.

Prototype

public String getLocationAsString() 

Source Link

Document

Get the location information as a string.

Usage

From source file:SimpleXMLTransform.java

private void show(String type, TransformerException e) {
    System.out.println(type + ": " + e.getMessage());
    if (e.getLocationAsString() != null)
        System.out.println(e.getLocationAsString());
}