| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.lang.RuntimeException
              
oracle.iam.platform.utils.SuperRuntimeException
public class SuperRuntimeException
A placeholder class for adding runtime exception handling functionality.
| Constructor Summary | |
|---|---|
SuperRuntimeException()Constructs a new super runtime exception with null as its detail message.  | 
|
SuperRuntimeException(java.lang.String message)Constructs a new super runtime exception with the specified detail message.  | 
|
SuperRuntimeException(java.lang.String errorCode, java.lang.Object[] errorData) | 
|
SuperRuntimeException(java.lang.String errorCode, java.lang.Object[] errorData, java.lang.Throwable cause) | 
|
SuperRuntimeException(java.lang.String errorCode, java.lang.String errorMessage, java.lang.Object[] errorData) | 
|
SuperRuntimeException(java.lang.String errorCode, java.lang.String errorMessage, java.lang.Object[] errorData, java.lang.Throwable cause) | 
|
SuperRuntimeException(java.lang.String message, java.lang.Throwable cause)Constructs a new super runtime exception with the specified detail message and cause.  | 
|
SuperRuntimeException(java.lang.Throwable cause)Constructs a new super runtime exception with the specified cause.  | 
|
| Method Summary | |
|---|---|
 void | 
addError(OIMError error) | 
static java.io.Serializable[] | 
convertErrorData(java.lang.Object[] errorData) | 
 void | 
copyErrorInfo(java.lang.Throwable e)Method to copy error information from cause by.  | 
 java.lang.String | 
getErrorCode()Get error code associated with the exception.  | 
 java.lang.Object[] | 
getErrorData()Gets error data associated with the exception, that can be used for globalization.  | 
 java.util.List | 
getErrors()Gets the list of errors associated with exception.  | 
 java.lang.String | 
getLocalizedMessage() | 
 java.lang.String[] | 
getLocalizedMessages()Gets localized messages associated with the super runtime exception and all of the causes.  | 
 java.lang.String[] | 
getMessages()Gets messages associated with the super runtime exception and all of the causes.  | 
 boolean | 
hasMultipleErrors()Returns true if exception is associated with multiple errors.  | 
 void | 
setErrorCode(java.lang.String errorCode) | 
 void | 
setErrorData(java.lang.Object[] errorData) | 
 void | 
setErrors(java.util.List errors) | 
 java.lang.String | 
toString() | 
 void | 
xprint(oracle.iam.platform.utils.io.XmlPrintWriter out)Prints super runtime exception's properties to the XmlPrintWriter.  | 
 void | 
xprint(oracle.iam.platform.utils.io.XmlPrintWriter out, java.lang.String name)Prints super runtime exception's properties to the XmlPrintWriter.  | 
| Methods inherited from class java.lang.Throwable | 
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SuperRuntimeException()
public SuperRuntimeException(java.lang.String message)
message - the detail message
public SuperRuntimeException(java.lang.String message,
                             java.lang.Throwable cause)
message - the detail messagecause - the causepublic SuperRuntimeException(java.lang.Throwable cause)
cause - the cause
public SuperRuntimeException(java.lang.String errorCode,
                             java.lang.Object[] errorData)
public SuperRuntimeException(java.lang.String errorCode,
                             java.lang.Object[] errorData,
                             java.lang.Throwable cause)
public SuperRuntimeException(java.lang.String errorCode,
                             java.lang.String errorMessage,
                             java.lang.Object[] errorData)
public SuperRuntimeException(java.lang.String errorCode,
                             java.lang.String errorMessage,
                             java.lang.Object[] errorData,
                             java.lang.Throwable cause)
| Method Detail | 
|---|
public void setErrorCode(java.lang.String errorCode)
public void copyErrorInfo(java.lang.Throwable e)
e, - cause by exceptionpublic java.lang.String getErrorCode()
public void setErrorData(java.lang.Object[] errorData)
public java.lang.Object[] getErrorData()
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwablepublic void setErrors(java.util.List errors)
public boolean hasMultipleErrors()
public java.util.List getErrors()
public void addError(OIMError error)
public java.lang.String[] getMessages()
public java.lang.String[] getLocalizedMessages()
public void xprint(oracle.iam.platform.utils.io.XmlPrintWriter out)
xprint in interface oracle.iam.platform.utils.io.XmlPrintableout - the XmlPrintWriter
public void xprint(oracle.iam.platform.utils.io.XmlPrintWriter out,
                   java.lang.String name)
xprint in interface oracle.iam.platform.utils.io.XmlPrintablename - the XML nameout - the XmlPrintWriterpublic static java.io.Serializable[] convertErrorData(java.lang.Object[] errorData)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||