Class ConnectorExceptions
- java.lang.Object
-
- com.saperion.connector.exceptions.ConnectorExceptions
-
public final class ConnectorExceptions extends java.lang.Object
The Class ConnectorExceptions.
Exception class for @linkSaClassicConnector
connection errors like
- wrong RMI Version
- user not logged on
- missing connection
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
throwMissingConnection()
static void
throwNotLoggedOn()
static void
throwNotLoggedOn(java.lang.Throwable cause)
static void
throwSystemException(java.lang.String message)
static void
throwSystemException(java.lang.String message, java.lang.Throwable cause)
static void
throwSystemException(java.lang.Throwable cause)
static void
throwWrongRMIVersion()
-
-
-
Method Detail
-
throwMissingConnection
public static void throwMissingConnection() throws SaSystemException
- Throws:
SaSystemException
-
throwWrongRMIVersion
public static void throwWrongRMIVersion() throws SaSystemException
- Throws:
SaSystemException
-
throwNotLoggedOn
public static void throwNotLoggedOn() throws SaAuthenticationException
- Throws:
SaAuthenticationException
-
throwNotLoggedOn
public static void throwNotLoggedOn(java.lang.Throwable cause) throws SaAuthenticationException
- Throws:
SaAuthenticationException
-
throwSystemException
public static void throwSystemException(java.lang.String message) throws SaSystemException
- Throws:
SaSystemException
-
throwSystemException
public static void throwSystemException(java.lang.String message, java.lang.Throwable cause) throws SaSystemException
- Throws:
SaSystemException
-
throwSystemException
public static void throwSystemException(java.lang.Throwable cause) throws SaSystemException
- Throws:
SaSystemException
-
-