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

com.lti.civil.CaptureException Maven / Gradle / Ivy

/*
 * Created on May 25, 2005
 */
package com.lti.civil;

/**
 * 
 * @author Ken Larson
 */
public class CaptureException extends Exception
{
	private int errorCode;
	
	public CaptureException()
	{
		super();
		
	}

	public CaptureException(String message, final int errorCode, Throwable cause)
	{
		super(message + ": " + errorCode, cause);
		this.errorCode = errorCode;
	}

	public CaptureException(String message, final int errorCode)
	{
		super(message + ": " + errorCode);
		this.errorCode = errorCode;
		
	}

	public CaptureException(Throwable cause)
	{
		super(cause);
		
	}

	public int getErrorCode()
	{
		return errorCode;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy