com.ibm.di.connector.maximo.exception
Class MxConnExcedentSizeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.di.connector.maximo.exception.MxConnectorException
              extended by com.ibm.di.connector.maximo.exception.MxConnSchemaException
                  extended by com.ibm.di.connector.maximo.exception.MxConnExcedentSizeException
All Implemented Interfaces:
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

Constructor Summary
MxConnExcedentSizeException(String msg, String attributeName, int maxSize, int size)
          Constructs a new MxConnExcedentSizeException.
 
Method Summary
 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 com.ibm.di.connector.maximo.exception.MxConnectorException
getMsgArgs
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MxConnExcedentSizeException

public MxConnExcedentSizeException(String msg,
                                   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.Exception(String)
Method Detail

getAttributeName

public 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