com.adobe.idp.um.api
Class UMException

java.lang.Object
  extended by IDPException
      extended by com.adobe.idp.um.api.UMException
All Implemented Interfaces:
java.io.Serializable

public class UMException
extends IDPException
implements java.io.Serializable

User Management exception class.


Constructor Summary
UMException(java.lang.String this_classname, int errorCode, java.lang.String details)
          A constructor that creates an exception whose information contains the class name, the error code, and details to be displayed.
UMException(java.lang.String this_classname, int errorCode, java.lang.String details, java.lang.Exception e)
          A constructor that creates an exception as part of a stack trace, since it includes an exception that was passed into it.
UMException(java.lang.String this_classname, int errorCode, java.lang.String details, java.util.List exps)
          A constructor that creates an exception as part of a stack trace, since it includes a list of exceptions that were passed into it.
 
Method Summary
 void appendStackTracesToMessage(java.util.List expList)
          Adds a List of exceptions to the stack trace.
 void appendStackTraceToMessage(java.lang.Exception e)
          Adds an exception to the stack trace.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMException

public UMException(java.lang.String this_classname,
                   int errorCode,
                   java.lang.String details)
A constructor that creates an exception whose information contains the class name, the error code, and details to be displayed.

Parameters:
this_classname - The name of the class where the exception occurred.
errorCode - The error code.
details - A String containing details related to the exception.

UMException

public UMException(java.lang.String this_classname,
                   int errorCode,
                   java.lang.String details,
                   java.lang.Exception e)
A constructor that creates an exception as part of a stack trace, since it includes an exception that was passed into it.

Parameters:
this_classname - The name of the class where the exception occurred.
errorCode - The error code.
details - A String containing details related to the exception.
e - An exception passed into this constructor, to be used as part of a stack trace.

UMException

public UMException(java.lang.String this_classname,
                   int errorCode,
                   java.lang.String details,
                   java.util.List exps)
A constructor that creates an exception as part of a stack trace, since it includes a list of exceptions that were passed into it.

Parameters:
this_classname - The name of the class where the exception occurred.
errorCode - The error code.
details - A String containing details related to the exception.
exps - A List of exceptions passed into this constructor, to be used as part of a stack trace..
Method Detail

appendStackTraceToMessage

public void appendStackTraceToMessage(java.lang.Exception e)
Adds an exception to the stack trace.

Parameters:
e - An exception passed into this method, to be used as part of a stack trace.

appendStackTracesToMessage

public void appendStackTracesToMessage(java.util.List expList)
Adds a List of exceptions to the stack trace.

Parameters:
expList - A List of exceptions passed into this method, to be used as part of a stack trace.