|
Oracle Collaboration Suite Discussions Java API Reference 10g (10.1.1) Part No. B16232-01 |
|||||||||
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
java.lang.UnsupportedOperationException
oracle.discussions.sdk.TdUnsupportedOperationException
Runtime exception raised for JavaMail operations not supported by oracle discussions implementation.
Extends from the java.lang.UnsupportedOperationException.
Sample code snippet illustrating the usage of TdUnsupportedOperationException.
public void close(boolean expunge) throws javax.mail.MessagingException { throw new TdUnsupportedOperationException("close"); }
TdException.java
, UnsupportedOperatioException.java
, Serialized FormConstructor Summary | |
TdUnsupportedOperationException(java.lang.String opName) Runtime exception raised for JavaMail operations not supported by oracle discussions implementation. |
Method Summary | |
java.lang.String |
getErrorCode() Returns the error code associated with this exception |
java.lang.String |
getLocalizedMessage() Returns the Exception message in localized format. |
java.lang.String |
getLocalizedMessage(java.util.Locale l) Returns the Exception message in localized format. |
java.lang.String |
getMessage() Returns the Exception message in localized format. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TdUnsupportedOperationException(java.lang.String opName)
Constructor which takes in a string, causing the exception and constructs the exception object.
opName
-Method Detail |
public java.lang.String getLocalizedMessage()
The localized message method will read the exception message from the resource bundle, which returns localized messages. The resource bundle will take in the default locale of the server.
public java.lang.String getLocalizedMessage(java.util.Locale l)
The localized message method will read the exception message from the resource bundle, which returns localized messages. The resource bundle will take in the locale passed and return the message formatted to that locale.
public java.lang.String getMessage()
The localized message method will read the exception message from the resource bundle, which returns localized messages. The resource bundle will format the message according to US Locale.
public java.lang.String getErrorCode()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |