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

Deprecated. This class is deprecated as of 2004-05-17 Exception to indicate that a value was not supplied for a required attribute, when calling a method or creating an object.

public class ValueTooLongException
extends java.lang.Exception

Author:
  lpurple
See Also:
  Serialized Form

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

Method Summary
`java.lang.String` | `getAttributeName()` Deprecated. Get the name of the attribute whose value exceeds the allowable length
`int` | `getMaximumLength()` Deprecated. 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)

  Deprecated.
  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()

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

  Returns:
    The attribute name.

### getMaximumLength

    public int getMaximumLength()

  Deprecated.
  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