com.sap.conn.jco.ext
Class SessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.conn.jco.JCoRuntimeException
com.sap.conn.jco.ext.SessionException
- All Implemented Interfaces:
- java.io.Serializable
public class SessionException
- extends JCoRuntimeException
A SessionException is supposed to be thrown by a SessionReferenceProvider in case of issues within
session management for sessions that have been initiated by a JCoServer connection.
- See Also:
- Serialized Form
Constructor Summary |
SessionException(SessionException.Type type,
java.lang.String message)
Creates a new instance of a SessionException with the given type and message. |
SessionException(SessionException.Type type,
java.lang.String message,
java.lang.Throwable causedBy)
Creates a new instance of a SessionException with the given type, message and potentially
a cause exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SessionException
public SessionException(SessionException.Type type,
java.lang.String message,
java.lang.Throwable causedBy)
- Creates a new instance of a SessionException with the given type, message and potentially
a cause exception.
- Parameters:
type
- situation when exception is raisedmessage
- exception messagecausedBy
- causing exception
SessionException
public SessionException(SessionException.Type type,
java.lang.String message)
- Creates a new instance of a SessionException with the given type and message.
- Parameters:
type
- situation when exception is raisedmessage
- exception message
Copyright © 2008-2014 SAP AG. All Rights Reserved.