Class InsufficientDataException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InsufficientDataException
    extends ImpExException
    Indicates that a value line does not provide all attribute data which is necessary to perform the operation described by the according header.

    These exceptions will cause the import/export to abort since it cannot be guaranteed that imported/exported data is useable at all.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MISSING_MANDATORY_VALUE
      At least one non-optional attribute is not provided by the value line.
      static int MISSING_UNIQUE_KEY_VALUE
      At least one attribute marked as unique key is not provided by the line.
      static int TYPE_NOT_PERMITTED
      The line type is not permitted by its header ( attributes missing, type is abstract, etc).
      static int UNKNOWN
      Unknown reason.
      static int UNKNOWN_TYPE
      The line requests a composed type which cannot be found in the current system.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ValueLine getValueLine()  
      java.lang.String toString()
      Adds the error code of this exception to the output string.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • MISSING_MANDATORY_VALUE

        public static final int MISSING_MANDATORY_VALUE
        At least one non-optional attribute is not provided by the value line.
        See Also:
        Constant Field Values
      • MISSING_UNIQUE_KEY_VALUE

        public static final int MISSING_UNIQUE_KEY_VALUE
        At least one attribute marked as unique key is not provided by the line.
        See Also:
        Constant Field Values
      • TYPE_NOT_PERMITTED

        public static final int TYPE_NOT_PERMITTED
        The line type is not permitted by its header ( attributes missing, type is abstract, etc).
        See Also:
        Constant Field Values
      • UNKNOWN_TYPE

        public static final int UNKNOWN_TYPE
        The line requests a composed type which cannot be found in the current system.
        See Also:
        Constant Field Values
    • Constructor Detail

      • InsufficientDataException

        public InsufficientDataException​(ValueLine line,
                                         java.lang.String message,
                                         int errorCode)
      • InsufficientDataException

        public InsufficientDataException​(java.lang.String message,
                                         int errorCode)