// Path: src/main/java/au/edu/jcu/v4l4j/exceptions/UnsupportedMethod.java
// public class UnsupportedMethod extends RuntimeException {
// 	private static final long serialVersionUID = -8801339441741012577L;
// 
// 	public UnsupportedMethod(String message) {
// 		super(message);
// 	}
// 
// 	public UnsupportedMethod(String message, Throwable throwable) {
// 		super(message, throwable);
// 	}
// 
// 	public UnsupportedMethod(Throwable throwable) {
// 		super(throwable);
// 	}
// }


import java.util.List;
import java.util.Vector;
import au.edu.jcu.v4l4j.exceptions.UnsupportedMethod;
			return;
		}
		
		if(t==0)
			type = Type.UNSUPPORTED;
		else if(t==1){
			type = Type.DISCRETE;
		} else {
			type = Type.STEPWISE;
		}
	}
	
	/**
	 * This method returns the resolution information type. See {@link Type} 
	 * enumeration.
	 * @return the resolution information type. See {@link Type}.
	 */
	public Type getType(){
		return type;
	}
	
	/**
	 * This method returns a list of {@link DiscreteResolution}s, or throws a 
	 * {@link UnsupportedMethod} exception if this resolution info object
	 * is not of type {@link Type#DISCRETE}.
	 * @return a list of {@link DiscreteResolution}s
	 * @throws UnsupportedMethod if this resolution info object
	 * is not of type {@link Type#DISCRETE}.
	 */
	public List<DiscreteResolution> getDiscreteResolutions()
// Path: src/main/java/au/edu/jcu/v4l4j/exceptions/UnsupportedMethod.java
// public class UnsupportedMethod extends RuntimeException {
// 	private static final long serialVersionUID = -8801339441741012577L;
// 
// 	public UnsupportedMethod(String message) {
// 		super(message);
// 	}
// 
// 	public UnsupportedMethod(String message, Throwable throwable) {
// 		super(message, throwable);
// 	}
// 
// 	public UnsupportedMethod(Throwable throwable) {
// 		super(throwable);
// 	}
// }


// Path: src/main/java/au/edu/jcu/v4l4j/ResolutionInfo.java
import java.util.List;
import java.util.Vector;
import au.edu.jcu.v4l4j.exceptions.UnsupportedMethod;

			return;
		}
		
		if(t==0)
			type = Type.UNSUPPORTED;
		else if(t==1){
			type = Type.DISCRETE;
		} else {
			type = Type.STEPWISE;
		}
	}
	
	/**
	 * This method returns the resolution information type. See {@link Type} 
	 * enumeration.
	 * @return the resolution information type. See {@link Type}.
	 */
	public Type getType(){
		return type;
	}
	
	/**
	 * This method returns a list of {@link DiscreteResolution}s, or throws a 
	 * {@link UnsupportedMethod} exception if this resolution info object
	 * is not of type {@link Type#DISCRETE}.
	 * @return a list of {@link DiscreteResolution}s
	 * @throws UnsupportedMethod if this resolution info object
	 * is not of type {@link Type#DISCRETE}.
	 */
	public List<DiscreteResolution> getDiscreteResolutions()
		throws UnsupportedMethod{