OracleAS Syndication Services API Reference
10g (9.0.4)

Part No. B10399-01

oracle.syndicate
Class SyndicateException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--oracle.syndicate.SyndicateException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
oracle.syndicate.message.ice.ICEException, oracle.syndicate.server.OSSException, SyndicateClientException

public abstract class SyndicateException
extends java.lang.Exception

Base exception class for all the exceptions raised by Oracle Syndication Services client and server code.

Since:
release specific (what release of product did this appear in)
See Also:
Serialized Form

Field Summary
protected  java.lang.String _exCode
           
protected static java.util.Hashtable _htRb
           
protected  java.lang.Object[] _oaParams
           
protected  java.lang.Throwable _tInternal
           
protected static java.lang.String EX_CODE_SEPARATOR
           

 

Constructor Summary
protected SyndicateException()
           
  SyndicateException(java.lang.String exCode)
          Constructor for this exception class.
  SyndicateException(java.lang.String exCode, java.lang.Object arg1)
          Constructor for this exception class.
  SyndicateException(java.lang.String exCode, java.lang.Object arg1, java.lang.Object arg2)
          Constructor for this exception class.
  SyndicateException(java.lang.String exCode, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
          Constructor for this exception class.
  SyndicateException(java.lang.String exCode, java.lang.Throwable t)
          Constructor for this exception class.
  SyndicateException(java.lang.String exCode, java.lang.Throwable t, java.lang.Object arg1)
          Constructor for this exception class.
  SyndicateException(java.lang.String exCode, java.lang.Throwable t, java.lang.Object[] oa)
          Constructor for this exception class.
  SyndicateException(java.lang.String exCode, java.lang.Throwable t, java.lang.Object arg1, java.lang.Object arg2)
          Constructor for this exception class.
  SyndicateException(java.lang.String exCode, java.lang.Throwable t, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
          Constructor for this exception class.

 

Method Summary
 java.lang.String getErrorCode()
          Returns the error code associated with this exception
 java.lang.Throwable getInternalThrowable()
          Returns the internal throwable associated with this exception, null non is defined.
 java.lang.String getLocalizedMessage()
           
 java.lang.String getLocalizedMessage(java.util.Locale l)
           
 java.lang.String getMessage()
          Returns the message associated to this DsException using the default locale (en_US).
protected  java.lang.String getMessagePrivate(java.util.Locale loc)
          Employed by both methods that get messages
 java.lang.Object[] getParams()
          Returns the arguments for the format messaging
protected  java.util.ResourceBundle getResourceBundle(java.util.Locale loc)
           
protected abstract  java.lang.String getResourceBundleName()
          Returns the name of the ResourceBundle to be used by this subclass of the SyndicateException.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter pw)
           

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, toString

 

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

 

Field Detail

EX_CODE_SEPARATOR

protected static final java.lang.String EX_CODE_SEPARATOR

_exCode

protected java.lang.String _exCode

_oaParams

protected java.lang.Object[] _oaParams

_tInternal

protected java.lang.Throwable _tInternal

_htRb

protected static java.util.Hashtable _htRb
Constructor Detail

SyndicateException

protected SyndicateException()

SyndicateException

public SyndicateException(java.lang.String exCode)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.

SyndicateException

public SyndicateException(java.lang.String exCode,
                          java.lang.Object arg1)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.
arg1 - argument for the formatting of the message associated with this exception

SyndicateException

public SyndicateException(java.lang.String exCode,
                          java.lang.Object arg1,
                          java.lang.Object arg2)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.
arg1 - argument for the formatting of the message associated with this exception
arg2 - argument for the formatting of the message associated with this exception

SyndicateException

public SyndicateException(java.lang.String exCode,
                          java.lang.Object arg1,
                          java.lang.Object arg2,
                          java.lang.Object arg3)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.
arg1 - argument for the formatting of the message associated with this exception
arg2 - argument for the formatting of the message associated with this exception
arg3 - argument for the formatting of the message associated with this exception

SyndicateException

public SyndicateException(java.lang.String exCode,
                          java.lang.Throwable t)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.
t - throwable that cause this syndication exception to be raised

SyndicateException

public SyndicateException(java.lang.String exCode,
                          java.lang.Throwable t,
                          java.lang.Object arg1)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.
t - throwable that cause this syndication exception to be raised
arg1 - argument for the formatting of the message associated with this exception

SyndicateException

public SyndicateException(java.lang.String exCode,
                          java.lang.Throwable t,
                          java.lang.Object arg1,
                          java.lang.Object arg2)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.
t - throwable that cause this syndication exception to be raised
arg1 - argument for the formatting of the message associated with this exception
arg2 - argument for the formatting of the message associated with this exception

SyndicateException

public SyndicateException(java.lang.String exCode,
                          java.lang.Throwable t,
                          java.lang.Object arg1,
                          java.lang.Object arg2,
                          java.lang.Object arg3)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.
t - throwable that cause this syndication exception to be raised
arg1 - argument for the formatting of the message associated with this exception
arg2 - argument for the formatting of the message associated with this exception
arg3 - argument for the formatting of the message associated with this exception

SyndicateException

public SyndicateException(java.lang.String exCode,
                          java.lang.Throwable t,
                          java.lang.Object[] oa)
Constructor for this exception class.
Parameters:
exCode, - identifies the exception code associated with this exception. it will be used as a key into the exception resource bundle to get the localized execptin message.
t - throwable that cause this syndication exception to be raised
oa - array of arguments for the formatting of the message associated with this exception
Method Detail

getInternalThrowable

public java.lang.Throwable getInternalThrowable()
Returns the internal throwable associated with this exception, null non is defined.

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Overrides:
printStackTrace in class java.lang.Throwable

getLocalizedMessage

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

getLocalizedMessage

public java.lang.String getLocalizedMessage(java.util.Locale l)

getMessage

public java.lang.String getMessage()
Returns the message associated to this DsException using the default locale (en_US).
Overrides:
getMessage in class java.lang.Throwable

getErrorCode

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

getParams

public java.lang.Object[] getParams()
Returns the arguments for the format messaging

getResourceBundleName

protected abstract java.lang.String getResourceBundleName()
Returns the name of the ResourceBundle to be used by this subclass of the SyndicateException. e.g. "oracle.syndicate.server.exmsgs.OSSMessages"

getMessagePrivate

protected java.lang.String getMessagePrivate(java.util.Locale loc)
Employed by both methods that get messages

getResourceBundle

protected final java.util.ResourceBundle getResourceBundle(java.util.Locale loc)
                                                    throws java.util.MissingResourceException

Copyright © 2001, 2003, Oracle. All rights reserved.

Copyright © 2001, 2003, Oracle. All rights reserved.