summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/viewer/ViewerException.java
blob: 0c178375e3da9fbe6c7d7cc6558e1cc6b848e740 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package org.openslx.runvirt.viewer;

/**
 * An exception of a viewer error during displaying all displays of a virtual machine.
 * 
 * @author Manuel Bentele
 * @version 1.0
 */
public class ViewerException extends Exception
{
	/**
	 * Version for serialization.
	 */
	private static final long serialVersionUID = 161091514643380414L;

	/**
	 * Creates a new viewer exception including an error message.
	 *
	 * @param errorMsg message to describe a specific viewer error.
	 */
	public ViewerException( String errorMsg )
	{
		super( errorMsg );
	}

	/**
	 * Creates a new viewer exception by a copy of an existing viewer exception.
	 * 
	 * @param e existing viewer exception.
	 */
	public ViewerException( ViewerException e )
	{
		super( e );
	}
}