|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.uddi.promoter.exception.PromoterException
public class PromoterException
A base exception class for all the checked exceptions that are thrown from within UDDI Utility Tools. A message key, array of insert strings for that message key and a nested exception can all be passed to instances of this class to provide specific language neutral information about the cause.
Field Summary |
---|
Fields inherited from interface com.ibm.uddi.promoter.CommandLineConstants |
---|
ARG_BINDING, ARG_BUSINESS, ARG_DEFINITION_FILE, ARG_DELETE, ARG_EXPORT, ARG_IMPORT, ARG_IMPORT_REFERENCED_ENTITIES, ARG_INPUT_KEYFILE, ARG_INPUT_KEYFILE_OLD, ARG_OVERWRITE, ARG_OVERWRITE_OLD, ARG_PROMOTE, ARG_PROPERTIES_FILE, ARG_SERVICE, ARG_TMODEL, ARG_VERBOSE, ARG_VERBOSE_OLD, USAGE |
Constructor Summary | |
---|---|
PromoterException()
|
|
PromoterException(java.lang.Exception nestedException,
java.lang.String messageKey,
java.lang.String[] inserts)
Constructor taking nested Exception , message key, message inserts. |
|
PromoterException(java.lang.String message)
Constructor PromoterException. |
Method Summary | |
---|---|
java.lang.String[] |
getInserts()
Returns the message inserts. |
java.lang.String |
getLocalizedMessage()
Returns a translated message using the key and inserts contained within the exception object. |
java.lang.String |
getMessageKey()
Returns the messageKey. |
java.lang.Exception |
getNestedException()
Returns the nested Exception . |
boolean |
isShowUsageMessage()
Returns the showUsageMessage. |
void |
setInserts(java.lang.String[] inserts)
Sets the inserts. |
void |
setMessageKey(java.lang.String messageKey)
Sets the messageKey. |
void |
setNestedException(java.lang.Exception nestedException)
Sets the nestedException. |
void |
setShowUsageMessage(boolean showUsageMessage)
Sets the showUsageMessage. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PromoterException(java.lang.Exception nestedException, java.lang.String messageKey, java.lang.String[] inserts)
Exception
, message key, message inserts.
null
may be specified for any of the parameters.
nestedException
- messageKey
- inserts
- public PromoterException(java.lang.String message)
message
- public PromoterException()
Method Detail |
---|
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
Throwable.getLocalizedMessage()
public java.lang.String[] getInserts()
public java.lang.String getMessageKey()
public java.lang.Exception getNestedException()
Exception
.
public void setInserts(java.lang.String[] inserts)
inserts
- The inserts to setpublic void setMessageKey(java.lang.String messageKey)
messageKey
- The messageKey to setpublic void setNestedException(java.lang.Exception nestedException)
nestedException
- The nestedException to setpublic boolean isShowUsageMessage()
true
if the usage message is to be displayed.public void setShowUsageMessage(boolean showUsageMessage)
showUsageMessage
- true
to show the usage message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |