CA Identity Manager
Java SDK r12.5 SP 8

 

com.ca.identitymanager.feeder.util
Class FeederParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.netegrity.ims.exception.IMSException
                  extended by com.ca.identitymanager.feeder.util.FeederParserException
All Implemented Interfaces:
java.io.Serializable

public class FeederParserException
extends IMSException

This exception is thrown when the the parser is unable to return the requested information.

The FeederParserException is a sub-class of the java.lang.Exception This class extends the core functionality by adding the ability to add 1 or more user readable messages to the exception. This allows the client to pass this information back to the user in an attempt to allow them to modify their request, and thus move forward in the processing of the request. Methods that throw an FeederParserException must gather all errors first and then throw the exception. If the error state indicated by the exception has no way of being affected by the user, then a regular exception must be thrown.

See Also:
Serialized Form

Constructor Summary
FeederParserException()
          Creates an empty FeederParserException object that will be populated with messages from the user.
FeederParserException(java.lang.String key)
          Adds a general-purpose message to the list of exception messages to be displayed on the task screen.
FeederParserException(java.lang.String key, java.lang.String[] paramName)
          Adds a general-purpose message to the list of exception messages to be displayed on the task screen.
 
Method Summary
 void addUserMessage(java.lang.String message)
          Adds the specified general-purpose message to the list of exception messages to be displayed on the task screen.
 
Methods inherited from class com.netegrity.ims.exception.IMSException
addUserMessage, addUserMessage, addUserMessage, addUserMessage, createTaskErrorObject, createTaskErrorObject, createTaskErrorObjects, createTaskErrorObjects, getAttributeValidationMessages, getMessage, getUserMessages, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeederParserException

public FeederParserException(java.lang.String key,
                             java.lang.String[] paramName)
Adds a general-purpose message to the list of exception messages to be displayed on the task screen.

Parameters:
key - The key for retrieving the message from the resource bundle.
paramName - An array of values to insert into message variables.

FeederParserException

public FeederParserException(java.lang.String key)
Adds a general-purpose message to the list of exception messages to be displayed on the task screen.

Parameters:
key - The key for retrieving the message from the resource bundle.

FeederParserException

public FeederParserException()

Creates an empty FeederParserException object that will be populated with messages from the user.

Method Detail

addUserMessage

public void addUserMessage(java.lang.String message)
Adds the specified general-purpose message to the list of exception messages to be displayed on the task screen. This message is not retrieved from a resource bundle.

One possible use for this method is to display a Too many errors message if the number of exceptions exceeds a defined number.

Overrides:
addUserMessage in class IMSException
Parameters:
message - The exception message to add to the list of messages to display.

CA Identity Manager
Java SDK r12.5 SP 8

06/13/2011

© 2011 CA Technologies, Inc. All rights reserved.