| 
 | Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           oracle.imaging.ImagingException
oracle.imaging.ImagingException
@WebFault
public class ImagingException
The exception repositoryType thrown by the imaging service APIs.
| Nested Class Summary | |
|---|---|
| static class | ImagingException.LoggingWrapper | 
| Field Summary | |
|---|---|
| protected static java.lang.String | EXCEPTION_LOGGER | 
| protected  ImagingFaultInfo | faultInfoFault payload containing the exception code. | 
| Constructor Summary | |
|---|---|
| ImagingException(java.util.Locale locale, java.lang.String exceptionCode, java.lang.String... args)Constructor that performs a message bundle lookup to translate the message text for the given exception code. | |
| ImagingException(java.util.Locale locale, java.lang.Throwable cause)Constructor that builds an exception to pass through the details of an existiong exception. | |
| ImagingException(java.util.Locale locale, java.lang.Throwable cause, java.lang.String exceptionCode, java.lang.String... args)Constructor that performs a message bundle lookup to translate the message text for the given exception code. | |
| ImagingException(java.lang.String message, ImagingFaultInfo faultInfo)Constructor required by the JSR 224 @WebFault specification. | |
| ImagingException(java.lang.String message, ImagingFaultInfo faultInfo, java.lang.Throwable cause)Constructor required by the JSR 224 @WebFault specification. | |
| Method Summary | |
|---|---|
|  void | generateStackTraceId()FOR INTERNAL USE ONLY | 
|  java.lang.String | getDetailedMessage()Deprecated. | 
| static java.lang.String | getErrorMessage(java.lang.String exceptionCode, java.lang.String[] args, java.util.Locale locale)Helper method to perform the message bundle lookup to resolve the message text for a given error code | 
|  java.lang.String | getExceptionCode() | 
|  java.lang.String | getExceptionLabel() | 
|  java.util.List<ImagingFaultDetail> | getFaultDetails() | 
|  ImagingFaultInfo | getFaultInfo()Accessor method required by the JSR 224 @WebFault specification. | 
|  ImagingFaultType | getFaultType() | 
|  java.lang.String | getLocalizedMessage() | 
|  java.lang.String | getStackTraceId()FOR INTERNAL USE ONLY | 
| protected  void | logException(java.lang.Throwable cause, java.lang.Object[] messageArgs, java.util.logging.Level logLevel, boolean forceLogging)Log the exception. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Throwable | 
|---|
| fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected static final java.lang.String EXCEPTION_LOGGER
protected ImagingFaultInfo faultInfo
| Constructor Detail | 
|---|
public ImagingException(java.lang.String message,
                        ImagingFaultInfo faultInfo)
message - The message text for the exceptionfaultInfo - The @WebFault fault info payload
public ImagingException(java.lang.String message,
                        ImagingFaultInfo faultInfo,
                        java.lang.Throwable cause)
message - The message text for the exceptionfaultInfo - The @WebFault fault info payloadcause - A Throwable to be encapsulated by this exception
public ImagingException(java.util.Locale locale,
                        java.lang.String exceptionCode,
                        java.lang.String... args)
locale - The locale to be used for the message text lookupexceptionCode - The exception code for the expection. Must be an exception value defined in the Exceptions message bundle.args - Arguments for the message.
public ImagingException(java.util.Locale locale,
                        java.lang.Throwable cause,
                        java.lang.String exceptionCode,
                        java.lang.String... args)
locale - The locale to be used for the message text lookupexceptionCode - The exception code for the expection. Must be an exception value defined in the Exceptions message bundle.args - Arguments for the message.
public ImagingException(java.util.Locale locale,
                        java.lang.Throwable cause)
locale - A Locale for the localized message.cause - A Throwable to be encapsulated by this exception. The message text for the exception will come from the getMessage method of this parameter.| Method Detail | 
|---|
public ImagingFaultInfo getFaultInfo()
public java.lang.String getExceptionCode()
public java.lang.String getExceptionLabel()
public ImagingFaultType getFaultType()
public java.util.List<ImagingFaultDetail> getFaultDetails()
public static java.lang.String getErrorMessage(java.lang.String exceptionCode,
                                               java.lang.String[] args,
                                               java.util.Locale locale)
exceptionCode - The error code to lookup in the message bundleargs - Arguments for the message.locale - The locale to be used for the lookup
protected void logException(java.lang.Throwable cause,
                            java.lang.Object[] messageArgs,
                            java.util.logging.Level logLevel,
                            boolean forceLogging)
public void generateStackTraceId()
Generates a stack trace identifier for use when the ImagingException is logged.
FOR INTERNAL USE ONLY
public java.lang.String getStackTraceId()
Returns a stack trace identifier for use when the ImagingException is logged.
FOR INTERNAL USE ONLY
@Deprecated
public java.lang.String getDetailedMessage()
public java.lang.String toString()
toString in class java.lang.Throwablepublic java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwable| 
 | Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||