Skip navigation links


oracle.iam.spmlws.spmlv2.exception
Class ProvisioningException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.iam.spmlws.spmlv2.exception.ProvisioningException

All Implemented Interfaces:
java.io.Serializable

public class ProvisioningException
extends java.lang.Exception

This a generic exception to indicate any failures in performing SPML operations

See Also:
Serialized Form

Constructor Summary
ProvisioningException(oracle.iam.wsschema.model.spmlv2.core.ErrorCode spmlErrorCode)
          Constructs a ProvisioningException with a specified SPML ErrorCode
ProvisioningException(oracle.iam.wsschema.model.spmlv2.core.ErrorCode spmlErrorCode, java.lang.String customErrorCode)
          Constructs a ProvisioningException with a specified SPML ErrorCode and custom error code
ProvisioningException(oracle.iam.wsschema.model.spmlv2.core.ErrorCode spmlErrorCode, java.lang.String customErrorCode, java.lang.String errorMessage)
          Constructs a ProvisioningException with a specified SPML ErrorCode, custom error code and detail message

 

Method Summary
 java.lang.String getErrorCode()
          Gets the custom error code
 oracle.iam.wsschema.model.spmlv2.core.ErrorCode getSpmlErrorCode()
          Gets the SPML ErrorCode
 void setErrorCode(java.lang.String customErrorCode)
          Sets the custom error code
 void setSpmlErrorCode(oracle.iam.wsschema.model.spmlv2.core.ErrorCode spmlErrorCode)
          Sets the SPML ErrorCode

 

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

 

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

 

Constructor Detail

ProvisioningException

public ProvisioningException(oracle.iam.wsschema.model.spmlv2.core.ErrorCode spmlErrorCode)
Constructs a ProvisioningException with a specified SPML ErrorCode
Parameters:
spmlErrorCode - the SPML error code

ProvisioningException

public ProvisioningException(oracle.iam.wsschema.model.spmlv2.core.ErrorCode spmlErrorCode,
                             java.lang.String customErrorCode)
Constructs a ProvisioningException with a specified SPML ErrorCode and custom error code
Parameters:
spmlErrorCode - the SPML error code
customErrorCode - the custom error code

ProvisioningException

public ProvisioningException(oracle.iam.wsschema.model.spmlv2.core.ErrorCode spmlErrorCode,
                             java.lang.String customErrorCode,
                             java.lang.String errorMessage)
Constructs a ProvisioningException with a specified SPML ErrorCode, custom error code and detail message
Parameters:
spmlErrorCode - the SPML error code
customErrorCode - the custom error code
errorMessage - the detail message

Method Detail

getErrorCode

public java.lang.String getErrorCode()
Gets the custom error code
Returns:
the custom error code

setErrorCode

public void setErrorCode(java.lang.String customErrorCode)
Sets the custom error code
Parameters:
customErrorCode - the custom error code

getSpmlErrorCode

public oracle.iam.wsschema.model.spmlv2.core.ErrorCode getSpmlErrorCode()
Gets the SPML ErrorCode
Returns:
the SPML ErrorCode

setSpmlErrorCode

public void setSpmlErrorCode(oracle.iam.wsschema.model.spmlv2.core.ErrorCode spmlErrorCode)
Sets the SPML ErrorCode
Parameters:
spmlErrorCode - the SPML ErrorCode

Skip navigation links


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