edu.ntnu.item.jt.VMware.errors
Class VMWareException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.ntnu.item.jt.VMware.errors.VMWareException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ConnectionFailedException, CreateSnapshotException, DirectoryCreationException, FileCopyException, FileExecutionException, LoginFailureException, NoSnapshotLoadedException, OpenVMException, PowerOffFailureException, PowerUpFailureException, RevertToSnapshotFailedException
public abstract class VMWareException
- extends Exception
A generic representation of a VMware Vix related exception.
Stores an error text and error code provided by Vix.
- Author:
- Jøran Vagnby Lillesand
- See Also:
- Serialized Form
Method Summary |
long |
getErrCode()
Getter for the Vix error code. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
VMWareException
public VMWareException(String reason,
long errCode)
getErrCode
public long getErrCode()
- Getter for the Vix error code.
- Returns:
- error code supplied by Vix.