All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gs.fw.common.mithra.cacheloader.xmlbinding.MithraCacheLoaderParserException Maven / Gradle / Ivy

package com.gs.fw.common.mithra.cacheloader.xmlbinding;
import javax.xml.stream.*;
import java.util.*;
/**
* This file was automatically generated using FreyaXml 1.5.0. Please do not modify it.
* Add custom logic to its subclass instead.
*/
public class MithraCacheLoaderParserException extends RuntimeException
{
	private Location location;
	public MithraCacheLoaderParserException(String message)
	{
		super(message);
	}

	public MithraCacheLoaderParserException(String message, Throwable cause)
	{
		super(message, cause);
	}

	public MithraCacheLoaderParserException(String message, XMLStreamException cause)
	{
		super(message+(cause.getLocation() == null ? "" :" at location: "+cause.getLocation().toString()), cause);
		this.location = cause.getLocation();
	}

	public MithraCacheLoaderParserException(String message, Location location, String diagnosticMessage)
	{
		super(message+(location == null ? "" :" at location: "+location.toString())+(diagnosticMessage == null ? "" : " "+diagnosticMessage));
		this.location = location;
	}

	public Location getLocation()
	{
		return location;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy