nyla.solutions.global.patterns.servicefactory.exceptions.SpringXmlFileNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.patterns.servicefactory.exceptions;
import nyla.solutions.global.exception.ConfigException;
import nyla.solutions.global.patterns.servicefactory.SpringFactory;
/**
* @author Gregory Green
*
*/
public class SpringXmlFileNotFoundException extends ConfigException
{
/**
*
*/
private static final long serialVersionUID = 8331624559019768642L;
/**
*
*/
public SpringXmlFileNotFoundException()
{
this("Unable to location the service.factory.xml in classpath and property "+SpringFactory.DEFAULT_CONFIG_PROP_VALUE+
"\n not found in the confir properties file. Either the location of the file in the "+
"\n Sample system property;"
+"\n -Dspring.xml.url=file:///projects/solutions/config/servicefactory.xml"
+"\n"
+"\n Sample Configuration Property"
+"\n spring.xml.url=file:///C:/Projects/solution/runtime/config/service.factory.xml");
}
/**
* @param aMessage
*/
public SpringXmlFileNotFoundException(String aMessage)
{
super(aMessage);
// TODO Auto-generated constructor stub
}
/**
* @param aMessage
* @param aThrowable
*/
public SpringXmlFileNotFoundException(String aMessage,
Throwable aThrowable)
{
super(aMessage, aThrowable);
// TODO Auto-generated constructor stub
}
/**
* @param aThrowable
*/
public SpringXmlFileNotFoundException(Throwable aThrowable)
{
super(aThrowable);
// TODO Auto-generated constructor stub
}
}