Skip navigation links


oracle.iam.grc.sod.exception
Class SILRegistrationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.iam.grc.sod.exception.SILRegistrationException

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public final class SILRegistrationException
extends java.lang.Exception
implements java.lang.Cloneable

This exception is raised when there is an issue existing with the way registration module of SIL works. All the system types, system contexts and service components are registered with SIL repository before they could be utlized for SoD analysis. Once registered, these objects are used at runtime, when the SoD analysis functionality gets invoked. If there is any problem during registration or while reading registered objects, issues are raised in the form of SILRegistrationException.

See Also:
Serialized Form

Field Summary
 java.lang.String isMessage
          The detailed message.

 

Constructor Summary
SILRegistrationException()
          Creates a new tcAPIException object.
SILRegistrationException(java.lang.String isMessage)
          Constructs a new tcAPIException with the specified detail message.
SILRegistrationException(java.lang.String isMessage, java.lang.Exception ex)
           
SILRegistrationException(java.lang.String errorCode, java.lang.String isMessage)
          Constructs a new tcAPIException with the specified error code and detail message.

 

Method Summary
 java.lang.Object clone()
          Creates and returns a copy of this object.The method clone performs a specific cloning operation, if the class of this object does not implement the interface Cloneable, then a CloneNotSupportedException is thrown.
 java.lang.String getErrorCode()
          Returns the error code associated with API exception
 java.lang.String getMessage()
          Returns the error message associated with API exception
 java.lang.Object getReturnValue()
          Returns the object that needed to be returned by the API when the API exception occurred.
 void SetErrorCode(java.lang.String code)
          Method to set the Error code on API Exception
 void SetMessage(java.lang.String message)
          Method to set the Error message on API Exception
 void setReturnValue(java.lang.Object retval)
          Stores the return value that the API intended to send back when a API exception occurred by the failing of some of the transactions

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

isMessage

public java.lang.String isMessage
The detailed message. The detailed message is saved for later retrieval by the Throwable.getMessage() method.

Constructor Detail

SILRegistrationException

public SILRegistrationException()
Creates a new tcAPIException object.

SILRegistrationException

public SILRegistrationException(java.lang.String isMessage)
Constructs a new tcAPIException with the specified detail message.
Parameters:
isMessage - the detailed message. The detailed message is saved for later retrieval by the Throwable.getMessage() method.

SILRegistrationException

public SILRegistrationException(java.lang.String errorCode,
                                java.lang.String isMessage)
Constructs a new tcAPIException with the specified error code and detail message.
Parameters:
errorCode - the error code
isMessage - the detailed message. The detailed message is saved for later retrieval by the Throwable.getMessage() method.

SILRegistrationException

public SILRegistrationException(java.lang.String isMessage,
                                java.lang.Exception ex)

Method Detail

setReturnValue

public void setReturnValue(java.lang.Object retval)
Stores the return value that the API intended to send back when a API exception occurred by the failing of some of the transactions
Parameters:
retval - the object that needs to be returned
Since:
8.0

getReturnValue

public java.lang.Object getReturnValue()
Returns the object that needed to be returned by the API when the API exception occurred.
Returns:
an Object that need to be casted depending on the return value of the API that caused the API exception to happen
Since:
8.0

clone

public java.lang.Object clone()
Creates and returns a copy of this object.The method clone performs a specific cloning operation, if the class of this object does not implement the interface Cloneable, then a CloneNotSupportedException is thrown.
Overrides:
clone in class java.lang.Object
Returns:
java.lang.Object
Throws:
java.lang.Error - Error if any of the components cannot be cloned

SetErrorCode

public void SetErrorCode(java.lang.String code)
Method to set the Error code on API Exception
Parameters:
code, - error code to be set

getErrorCode

public java.lang.String getErrorCode()
Returns the error code associated with API exception
Returns:
the error code associated with the exception

SetMessage

public void SetMessage(java.lang.String message)
Method to set the Error message on API Exception
Parameters:
message, - error message to be set

getMessage

public java.lang.String getMessage()
Returns the error message associated with API exception
Overrides:
getMessage in class java.lang.Throwable
Returns:
the error message associated with the exception

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.