Class 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

public class SaRMIBaseException extends RemoteException
Base Exception for RemoteException.
Author:
lav TODO [mak]: think about introduction of a SaRMIParseException, which handles XML parser errors
See Also:
  • Constructor Details

    • SaRMIBaseException

      public SaRMIBaseException()
    • SaRMIBaseException

      public SaRMIBaseException(String s)
      Parameters:
      s - exception message
    • SaRMIBaseException

      public SaRMIBaseException(String s, Throwable cause)
      Parameters:
      s - exception message
      cause - throwed exception
  • Method Details

    • getStackTraceString

      public static String getStackTraceString(Throwable exception)
      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