Class ArchiveException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    StreamingNotSupportedException

    public class ArchiveException
    extends java.io.IOException
    Signals that an Archive exception of some sort has occurred.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Serial.
    • Constructor Summary

      Constructors 
      Constructor Description
      ArchiveException​(java.lang.String message)
      Constructs a new exception with the specified detail message.
      ArchiveException​(java.lang.String message, java.lang.Exception cause)
      Constructs a new exception with the specified detail message and cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

    • Constructor Detail

      • ArchiveException

        public ArchiveException​(java.lang.String message)
        Constructs a new exception with the specified detail message. The cause is not initialized.
        Parameters:
        message - The message (which is saved for later retrieval by the Throwable.getMessage() method).
      • ArchiveException

        public ArchiveException​(java.lang.String message,
                                java.lang.Exception cause)
        Constructs a new exception with the specified detail message and cause.
        Parameters:
        message - The message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). A null value indicates that the cause is nonexistent or unknown.