Secure iNet Factory

com.jscape.zip
Class ArchiveException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.jscape.zip.ArchiveException
All Implemented Interfaces:
ExceptionWrapper, java.io.Serializable

public class ArchiveException
extends java.lang.Exception
implements ExceptionWrapper

ArchiveExceptin is thrown by many methods of Archive class. The methods are masking various exception types into ArchiveException, but the event message will be propagated.

See Also:
Serialized Form

Constructor Summary
ArchiveException(java.lang.String msg)
          Creates exception with specified message string.
ArchiveException(java.lang.String msg, java.lang.Exception exception)
          Creates exception with specified message string and source exception
 
Method Summary
 java.lang.Exception getException()
          Gets source of this exception
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArchiveException

public ArchiveException(java.lang.String msg)
Creates exception with specified message string.

Parameters:
msg - the message of exception

ArchiveException

public ArchiveException(java.lang.String msg,
                        java.lang.Exception exception)
Creates exception with specified message string and source exception

Parameters:
msg - the message of exception
exception - the exception which caused this exception
Method Detail

getException

public java.lang.Exception getException()
Gets source of this exception

Specified by:
getException in interface ExceptionWrapper
Returns:
the source of this exception

Secure iNet Factory

Copyright JSCAPE 1999-2008 All Rights Reserved