com.ibm.itim.policy.analysis
Class PPAException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.itim.policy.analysis.PPAException
All Implemented Interfaces:
java.io.Serializable

public class PPAException
extends java.lang.Exception

This class encapsulates exception information encountered by the provisioning policy analysis code.

See Also:
Serialized Form

Method Summary
 java.lang.String getMessage()
          Returns the descriptive message about the exception using the default locale.
 java.lang.String getMessage(java.util.Locale locale)
          Returns the descriptive message about the exception using the specified locale.
 java.lang.String getMessageId()
          Returns the message identifier for the descriptive message about the exception.
 java.lang.Throwable getThrowable()
          Returns the original exception that caused the problem.
 java.lang.Object[] getTokens()
          Returns the values for replaceable tokens used in the error message.
 void printStackTrace()
          Prints this exception and its backtrace to the standard error stream.
 void printStackTrace(java.io.PrintStream printStream)
          Prints this exception and its backtrace to the specified print stream.
 void printStackTrace(java.io.PrintWriter printWriter)
          Prints this exception and its backtrace to the specified print writer.
 java.lang.String toXML()
          Returns an XML representation of this exception message and token values that can be localized by a user interface.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMessage

public java.lang.String getMessage()
Returns the descriptive message about the exception using the default locale.

Overrides:
getMessage in class java.lang.Throwable
Returns:
The error message formatted with the token values, using the default locale.

getMessage

public java.lang.String getMessage(java.util.Locale locale)
Returns the descriptive message about the exception using the specified locale.

Parameters:
locale - The locale to be used.
Returns:
The error message formatted with the token values and internationalized using the specified locale.

getMessageId

public java.lang.String getMessageId()
Returns the message identifier for the descriptive message about the exception.

Returns:
The message identifier for the descriptive message about the exception.

getThrowable

public java.lang.Throwable getThrowable()
Returns the original exception that caused the problem.

Returns:
The original exception that caused the problem.

getTokens

public java.lang.Object[] getTokens()
Returns the values for replaceable tokens used in the error message.

Returns:
The values for replaceable tokens used in the error message.

printStackTrace

public void printStackTrace()
Prints this exception and its backtrace to the standard error stream. This method prints a stack trace for this exception on the error output stream that is the value of the field System.err. The first line of output contains the result of the toString() method for this object.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream printStream)
Prints this exception and its backtrace to the specified print stream.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
printStream - The PrintStream to which the this exception and its backtrace are to be printed.

printStackTrace

public void printStackTrace(java.io.PrintWriter printWriter)
Prints this exception and its backtrace to the specified print writer.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
printWriter - The PrintWriter to which the this exception and its backtrace are to be printed.

toXML

public java.lang.String toXML()
Returns an XML representation of this exception message and token values that can be localized by a user interface.

Returns:
The formatted XML message.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.