diff options
author | Manuel Bentele | 2021-02-11 09:00:09 +0100 |
---|---|---|
committer | Manuel Bentele | 2021-02-11 09:00:09 +0100 |
commit | cdd849cc9a5c748627f7882974c9e3cb7e9457ba (patch) | |
tree | 8250f8ca047d25de0c28625f1d92ee24060c5852 /core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/cmdln/CommandLineArgsException.java | |
parent | [qemu] Call Java run-virt tool to finalize Libvirt configuration (diff) | |
download | mltk-cdd849cc9a5c748627f7882974c9e3cb7e9457ba.tar.gz mltk-cdd849cc9a5c748627f7882974c9e3cb7e9457ba.tar.xz mltk-cdd849cc9a5c748627f7882974c9e3cb7e9457ba.zip |
[qemu] Add command line argument parsing to 'qemu' runvirt plugin
Diffstat (limited to 'core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/cmdln/CommandLineArgsException.java')
-rw-r--r-- | core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/cmdln/CommandLineArgsException.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/cmdln/CommandLineArgsException.java b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/cmdln/CommandLineArgsException.java new file mode 100644 index 00000000..a327b813 --- /dev/null +++ b/core/modules/qemu/runvirt-plugin-qemu/src/main/java/org/openslx/runvirt/plugin/qemu/cmdln/CommandLineArgsException.java @@ -0,0 +1,25 @@ +package org.openslx.runvirt.plugin.qemu.cmdln; + +/** + * An exception during the parsing of command line arguments. + * + * @author Manuel Bentele + * @version 1.0 + */ +public class CommandLineArgsException extends Exception +{ + /** + * Version number for serialization. + */ + private static final long serialVersionUID = 8371924151602194406L; + + /** + * Creates an command line argument parsing exception including an error message. + * + * @param errorMsg message to describe a specific parsing error. + */ + public CommandLineArgsException( String errorMsg ) + { + super( errorMsg ); + } +} |