Class CorruptedDatastreamException

  • All Implemented Interfaces:
    java.io.Serializable

    @ThreadSafe
    public class CorruptedDatastreamException
    extends java.lang.Exception
    An exception used when data corruption is detected on an NVD CVE Datastream file.
    Author:
    Hans Aikema
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CorruptedDatastreamException()
      Create a new CorruptedDatastreamException.
      CorruptedDatastreamException​(java.lang.String message)
      Create a new CorruptedDatastreamException with the specified detail message.
      CorruptedDatastreamException​(java.lang.String message, java.lang.Throwable cause)
      Create a new CorruptedDatastreamException with the specified detail message and cause.
      CorruptedDatastreamException​(java.lang.Throwable cause)
      Create a new CorruptedDatastreamException with the specified 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
    • Constructor Detail

      • CorruptedDatastreamException

        public CorruptedDatastreamException()
        Create a new CorruptedDatastreamException.
      • CorruptedDatastreamException

        public CorruptedDatastreamException​(java.lang.String message)
        Create a new CorruptedDatastreamException with the specified detail message.
        Parameters:
        message - a message for the exception.
      • CorruptedDatastreamException

        public CorruptedDatastreamException​(java.lang.Throwable cause)
        Create a new CorruptedDatastreamException with the specified cause.
        Parameters:
        cause - the cause for the exception.
      • CorruptedDatastreamException

        public CorruptedDatastreamException​(java.lang.String message,
                                            java.lang.Throwable cause)
        Create a new CorruptedDatastreamException with the specified detail message and cause.
        Parameters:
        message - a message for the exception.
        cause - the cause for the exception.