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

org.ioc.commons.integration.dataaccess.dao.ServerFailure Maven / Gradle / Ivy

Go to download

This project defines a set of useful java interfaces for helping you in the definition of the structure of your developments in Java-projects which are designed using a Inversion-Of-Control (IOC) pattern. Useful for MVP-Pattern designs in applications coded on GWT, SWT, Android, etc.

There is a newer version: 1.2.1
Show newest version
package org.ioc.commons.integration.dataaccess.dao;

/**
 * It has info for a server failure occurred.
 * 
 * @author Jesús Lunar Pérez
 * 
 */
public class ServerFailure {
	private final String message;
	private final String stackTraceString;
	private final String exceptionType;
	private final boolean fatal;

	public ServerFailure(String message, String stackTraceString, String exceptionType, boolean fatal) {
		this.message = message;
		this.stackTraceString = stackTraceString;
		this.exceptionType = exceptionType;
		this.fatal = fatal;
	}

	public String getMessage() {
		return message;
	}

	public String getStackTraceString() {
		return stackTraceString;
	}

	public String getExceptionType() {
		return exceptionType;
	}

	public boolean isFatal() {
		return fatal;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy