Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.hyades.logging.events.exceptions
Class ValueTooLongException

    java.lang.Object
      |
      +--java.lang.Throwable
            |
            +--java.lang.Exception
                  |
                  +--org.eclipse.hyades.logging.events.exceptions.ValueTooLongException

All Implemented Interfaces:
  java.io.Serializable

public class ValueTooLongException
extends java.lang.Exception

Author:
  lpurple Exception to indicate that a value was not supplied for a required attribute, when calling a method or creating an object.
See Also:
  Serialized Form

Constructor Summary
`ValueTooLongException(java.lang.String attrName, int maxLen)` Create a new ValueTooLongException.

Method Summary
`java.lang.String` | `getAttributeName()` Get the name of the attribute whose value exceeds the allowable length
`int` | `getMaximumLength()` Get the maximum allowable length for the attribute.

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

### ValueTooLongException

    public ValueTooLongException(java.lang.String attrName,
                                 int maxLen)

  Create a new ValueTooLongException.

Parameters:
  `attrName` - The name of the attribute whose value exceeds the allowable length.
  `maxLen` - The maximum allowable length.

Method Detail

### getAttributeName

    public java.lang.String getAttributeName()

  Get the name of the attribute whose value exceeds the allowable length

  Returns:
    The attribute name.

### getMaximumLength

    public int getMaximumLength()

  Get the maximum allowable length for the attribute.

  Returns:
    The maximum allowable length.

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD