com.crystaldecisions.sdk.occa.report.lib
Class ReportSDKIndexOutOfBoundsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IndexOutOfBoundsException
                  extended by com.crystaldecisions.sdk.occa.report.lib.ReportSDKIndexOutOfBoundsException
All Implemented Interfaces:
java.io.Serializable

public class ReportSDKIndexOutOfBoundsException
extends java.lang.IndexOutOfBoundsException

For internal use only

See Also:
Serialized Form

Constructor Summary
ReportSDKIndexOutOfBoundsException(java.lang.String RCI)
           
ReportSDKIndexOutOfBoundsException(java.lang.String RCI, java.util.Locale productLocale)
           
ReportSDKIndexOutOfBoundsException(java.lang.String RCI, java.lang.String message)
           
ReportSDKIndexOutOfBoundsException(java.lang.String RCI, java.lang.String message, java.util.Locale productLocale)
           
ReportSDKIndexOutOfBoundsException(java.lang.String RCI, java.lang.String message, java.lang.Throwable e)
           
ReportSDKIndexOutOfBoundsException(java.lang.String RCI, java.lang.String message, java.lang.Throwable e, java.util.Locale productLocale)
           
ReportSDKIndexOutOfBoundsException(java.lang.String RCI, java.lang.Throwable e)
           
ReportSDKIndexOutOfBoundsException(java.lang.String RCI, java.lang.Throwable e, java.util.Locale productLocale)
           
 
Method Summary
 java.lang.Throwable findCause(java.lang.Class throwable)
          Digs into the cause chain to find a cause of the specified type.
 java.lang.String getLocalizedMessage()
           Gets the localized message from the resource bundle using the given locale.
 java.lang.String getResourceKey()
           Gets the key used to retrieve a resource value from the resource bundle.
 java.lang.String getRootCauseIdentifier()
           Gets the root cause identifier of the exception.
 boolean isCausedByA(java.lang.Class throwable)
          Digs into the cause chain to see if this exception was caused by the specified type of throwable.
 void printStackTrace()
           Prints the stack trace.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportSDKIndexOutOfBoundsException

public ReportSDKIndexOutOfBoundsException(java.lang.String RCI)

ReportSDKIndexOutOfBoundsException

public ReportSDKIndexOutOfBoundsException(java.lang.String RCI,
                                          java.lang.Throwable e)

ReportSDKIndexOutOfBoundsException

public ReportSDKIndexOutOfBoundsException(java.lang.String RCI,
                                          java.lang.String message)

ReportSDKIndexOutOfBoundsException

public ReportSDKIndexOutOfBoundsException(java.lang.String RCI,
                                          java.lang.String message,
                                          java.lang.Throwable e)

ReportSDKIndexOutOfBoundsException

public ReportSDKIndexOutOfBoundsException(java.lang.String RCI,
                                          java.util.Locale productLocale)

ReportSDKIndexOutOfBoundsException

public ReportSDKIndexOutOfBoundsException(java.lang.String RCI,
                                          java.lang.Throwable e,
                                          java.util.Locale productLocale)

ReportSDKIndexOutOfBoundsException

public ReportSDKIndexOutOfBoundsException(java.lang.String RCI,
                                          java.lang.String message,
                                          java.util.Locale productLocale)

ReportSDKIndexOutOfBoundsException

public ReportSDKIndexOutOfBoundsException(java.lang.String RCI,
                                          java.lang.String message,
                                          java.lang.Throwable e,
                                          java.util.Locale productLocale)
Method Detail

printStackTrace

public void printStackTrace()

Prints the stack trace.

Overrides:
printStackTrace in class java.lang.Throwable

getResourceKey

public java.lang.String getResourceKey()

Gets the key used to retrieve a resource value from the resource bundle.

Returns:
a String that specifies the key

getRootCauseIdentifier

public java.lang.String getRootCauseIdentifier()

Gets the root cause identifier of the exception.

Returns:
a String that specifies the rootCauseID

getLocalizedMessage

public java.lang.String getLocalizedMessage()

Gets the localized message from the resource bundle using the given locale.

Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
a String that specifies the localized message

isCausedByA

public boolean isCausedByA(java.lang.Class throwable)
Digs into the cause chain to see if this exception was caused by the specified type of throwable.

Parameters:
throwable - The Class instance for the throwable we are looking for.
Returns:
whether a throwable of the specified type was found in the cause chain

findCause

public java.lang.Throwable findCause(java.lang.Class throwable)
Digs into the cause chain to find a cause of the specified type. The most outer cause that is an instance of the provided type is returned.

Parameters:
throwable - The Class instance for the exception we are looking for.
Returns:
The outermost cause of the specified type. null if not found.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable