Class MxConnExcedentSizeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MxConnExcedentSizeException
    extends MxConnSchemaException
    TPAE IF Connector's excedent size exception. Thrown to indicate that the value of a text attribute exceeds its size.
    Since:
    7.1
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttributeName()
      Returns the attribute name.
      int getMaxSize()
      Returns the maximum size of the attribute.
      int getSize()
      Returns the current size of the attribute.
      • 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

      • MxConnExcedentSizeException

        public MxConnExcedentSizeException​(java.lang.String msg,
                                           java.lang.String attributeName,
                                           int maxSize,
                                           int size)
        Constructs a new MxConnExcedentSizeException.
        Parameters:
        msg - exception message
        attributeName - name of the attribute
        maxSize - maximum size of the attribute
        size - current size of the attribute
        See Also:
        Exception(String)
    • Method Detail

      • getAttributeName

        public java.lang.String getAttributeName()
        Returns the attribute name.
        Returns:
        attribute name
      • getMaxSize

        public int getMaxSize()
        Returns the maximum size of the attribute.
        Returns:
        maximum size of the attributes
      • getSize

        public int getSize()
        Returns the current size of the attribute.
        Returns:
        current size of the attributes