com.izforge.izpack.io
Class VolumeNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.izforge.izpack.io.VolumeNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class VolumeNotFoundException
extends java.io.IOException

Exception, indicating, that a volume was not found.

Author:
Dennis Reil,
See Also:
Serialized Form

Field Summary
protected  long alreadyskippedbytes
           
private static long serialVersionUID
           
protected  java.lang.String volumename
           
 
Constructor Summary
VolumeNotFoundException()
           
VolumeNotFoundException(java.lang.String message, java.lang.String volumename)
           
 
Method Summary
 long getAlreadyskippedbytes()
          Returns the amount of skipped bytes, if a skip-operation was in progress
 java.lang.String getVolumename()
          Returns the name of the volume, which couldn't be found
 void setAlreadyskippedbytes(long alreadyskippedbytes)
          Sets the amount of already skipped bytes.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

volumename

protected java.lang.String volumename

alreadyskippedbytes

protected long alreadyskippedbytes

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

VolumeNotFoundException

public VolumeNotFoundException()

VolumeNotFoundException

public VolumeNotFoundException(java.lang.String message,
                               java.lang.String volumename)
Method Detail

getVolumename

public java.lang.String getVolumename()
Returns the name of the volume, which couldn't be found

Returns:
the name of the volume

getAlreadyskippedbytes

public long getAlreadyskippedbytes()
Returns the amount of skipped bytes, if a skip-operation was in progress

Returns:
the amount of skipped bytes

setAlreadyskippedbytes

public void setAlreadyskippedbytes(long alreadyskippedbytes)
Sets the amount of already skipped bytes.

Parameters:
alreadyskippedbytes -