com.sapportals.portal.pcd.gl

Class EnumerationLimitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.naming.NamingException
              extended by javax.naming.LimitExceededException
                  extended by javax.naming.SizeLimitExceededException
                      extended by com.sapportals.portal.pcd.gl.EnumerationLimitException
All Implemented Interfaces:
Serializable

public class EnumerationLimitException
extends SizeLimitExceededException

Exception for enumerations. This exception is thrown if there are problems returning one or more elements of an enumeration.

See Also:
IPcdContext.list(javax.naming.Name name, int fromIndex, int toIndex), Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
EnumerationLimitException()
          Constructs an EnumerationLimitException.
EnumerationLimitException(Exception rootCause)
          Constructs an EnumerationLimitException and sets a root cause.
EnumerationLimitException(String message)
          Constructs an EnumerationLimitException with the specified detail message.
EnumerationLimitException(String message, Exception rootCause)
          Constructs an EnumerationLimitException with the specified detail message and sets a root cause.
EnumerationLimitException(String message, Exception rootCause, int lastIndex)
          Constructs an EnumerationLimitException with the specified detail message and sets a root cause.
 
Method Summary
 Throwable getCause()
           
 int getLastIndex()
          Returns the last index that could be read successfully.
 String getMessage()
          Returns the message text including the text of the original message, if it exists.
 
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumerationLimitException

public EnumerationLimitException()
Constructs an EnumerationLimitException.


EnumerationLimitException

public EnumerationLimitException(String message)
Constructs an EnumerationLimitException with the specified detail message.

Parameters:
message - the detail message.

EnumerationLimitException

public EnumerationLimitException(String message,
                                 Exception rootCause)
Constructs an EnumerationLimitException with the specified detail message and sets a root cause.

Parameters:
message - the detail message.
rootCause - cause why the limit was reached

EnumerationLimitException

public EnumerationLimitException(String message,
                                 Exception rootCause,
                                 int lastIndex)
Constructs an EnumerationLimitException with the specified detail message and sets a root cause.

Parameters:
message - the detail message.
rootCause - cause why the limit was reached
lastIndex - index of the last element that could be read

EnumerationLimitException

public EnumerationLimitException(Exception rootCause)
Constructs an EnumerationLimitException and sets a root cause.

Parameters:
rootCause - cause why the limit was reached
Method Detail

getLastIndex

public int getLastIndex()
Returns the last index that could be read successfully.

Returns:
the last index that could be read successfully

getMessage

public String getMessage()
Returns the message text including the text of the original message, if it exists.

Overrides:
getMessage in class Throwable
See Also:
Throwable.getMessage()

getCause

public Throwable getCause()
Overrides:
getCause in class NamingException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api - EP-PIN
[sap.com] EP-BASIS [sap.com] tc/epbc/pcd/pars/srvgldeprecated api BC-PIN-PCD
[sap.com] EP-BASIS-API [sap.com] tc/epbc/pcd/gl/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2011 SAP AG Complete Copyright Notice