Class MxConnExcedentSizeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.di.connector.maximo.exception.MxConnectorException
-
- com.ibm.di.connector.maximo.exception.MxConnSchemaException
-
- com.ibm.di.connector.maximo.exception.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
-
-
Constructor Summary
Constructors Constructor Description MxConnExcedentSizeException(java.lang.String msg, java.lang.String attributeName, int maxSize, int size)Constructs a newMxConnExcedentSizeException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAttributeName()Returns the attribute name.intgetMaxSize()Returns the maximum size of the attribute.intgetSize()Returns the current size of the attribute.-
Methods inherited from class com.ibm.di.connector.maximo.exception.MxConnectorException
getMsgArgs
-
-
-
-
Constructor Detail
-
MxConnExcedentSizeException
public MxConnExcedentSizeException(java.lang.String msg, java.lang.String attributeName, int maxSize, int size)Constructs a newMxConnExcedentSizeException.- Parameters:
msg- exception messageattributeName- name of the attributemaxSize- maximum size of the attributesize- 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
-
-