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 Summary
Fields inherited from class java.rmi.RemoteException
detail
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getStackTraceString
(Throwable exception) Converts the stack trace of the given exception to String.Methods inherited from class java.rmi.RemoteException
getCause, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SaRMIBaseException
public SaRMIBaseException() -
SaRMIBaseException
- Parameters:
s
- exception message
-
SaRMIBaseException
- Parameters:
s
- exception messagecause
- throwed exception
-
-
Method Details
-
getStackTraceString
Converts 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
-