Package com.saperion.rmi.serverexception
Class SaRMIBaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
com.saperion.rmi.serverexception.SaRMIBaseException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SaRMIAuthenticationException,- SaRMIDBException,- SaRMIDDCException,- SaRMIFolderException,- SaRMIGetNodeException,- SaRMIHibernateExeption,- SaRMILockException,- SaRMIPropertyException,- SaRMISapException,- SaRMISearchFieldException,- SaRMISetACLException,- SaRMISetContentException,- SaRMISetNodeException,- SaRMISQLException,- SaRMISystemException,- SaRMIUniqueConstraintViolationException,- SaRMIWorkflowException
Base Exception for RemoteException.
- Author:
- lav TODO [mak]: think about introduction of a SaRMIParseException, which handles XML parser errors
- See Also:
- 
Field SummaryFields inherited from class java.rmi.RemoteExceptiondetail
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetStackTraceString(Throwable exception) Converts the stack trace of the given exception to String.Methods inherited from class java.rmi.RemoteExceptiongetCause, getMessageMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
SaRMIBaseExceptionpublic SaRMIBaseException()
- 
SaRMIBaseException- Parameters:
- s- exception message
 
- 
SaRMIBaseException- Parameters:
- s- exception message
- cause- throwed exception
 
 
- 
- 
Method Details- 
getStackTraceStringConverts the stack trace of the given exception to String. It is used to map a stack trace from a lower level exception as message to a higher level remote exception, example: s
 
 try {
 ...
 } catch (SaJNIException e) {
 throw new SaRMISystemException(SaRMISystemException.getStackTraceString(e));
 }- Parameters:
- exception- exception to be converted
- Returns:
- exception stack trace as string
 
 
-