|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.OwCMISExceptionCatcher
public class OwCMISExceptionCatcher
CmisException
catching block helper.
Creates specific fault type exceptions and log-statements.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor Summary | |
---|---|
OwCMISExceptionCatcher(org.oasis_open.docs.ns.cmis.ws._200908.CmisException cmisException_p)
Constructor |
|
OwCMISExceptionCatcher(org.oasis_open.docs.ns.cmis.ws._200908.CmisException cmisException_p,
Locale locale_p)
Constructor |
Method Summary | |
---|---|
String |
getLocalizedFaultTypeMessage()
|
String |
getLogMessage()
|
com.wewebu.ow.server.exceptions.OwException |
toOwException()
|
com.wewebu.ow.server.exceptions.OwException |
toOwException(com.wewebu.ow.server.util.OwString message_p)
|
com.wewebu.ow.server.exceptions.OwException |
toOwException(String message_p)
|
com.wewebu.ow.server.exceptions.OwException |
toOwException(String message_p,
boolean addCMISFaultTypeMessage_p)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwCMISExceptionCatcher(org.oasis_open.docs.ns.cmis.ws._200908.CmisException cmisException_p)
cmisException_p
- public OwCMISExceptionCatcher(org.oasis_open.docs.ns.cmis.ws._200908.CmisException cmisException_p, Locale locale_p)
cmisException_p
- locale_p
- current locale used in fault type exception message localizationMethod Detail |
---|
public String getLogMessage()
public String getLocalizedFaultTypeMessage()
public com.wewebu.ow.server.exceptions.OwException toOwException()
OwException
wrapper of the current CmisException
public com.wewebu.ow.server.exceptions.OwException toOwException(String message_p)
message_p
-
OwException
wrapper of the current CmisException
with the given messagepublic com.wewebu.ow.server.exceptions.OwException toOwException(String message_p, boolean addCMISFaultTypeMessage_p)
message_p
- addCMISFaultTypeMessage_p
- if true
the localized fault type message is added to the
given message in the generated exception object
OwException
wrapper of the current CmisException
with the given messagepublic com.wewebu.ow.server.exceptions.OwException toOwException(com.wewebu.ow.server.util.OwString message_p)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |