uk.org.ogsadai.sessions
Class SessionStreamDuplicateException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.sessions.SessionStreamDuplicateException
All Implemented Interfaces:
DAIExceptionInformation, java.io.Serializable

public class SessionStreamDuplicateException
extends DAIException

An attempt is made to add a session stream with a name that already exists.

Associated with error code: uk.org.ogsadai.SESSION_STREAM_DUPLICATION and

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private  SessionID mSessionID
          Session ID
private  java.lang.String mStreamID
          Stream ID
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SessionStreamDuplicateException(SessionID sessionID, java.lang.String streamID)
          Constructor.
 
Method Summary
 SessionID getSessionID()
          Gets the session ID.
 java.lang.String getStreamID()
          Gets the stream ID.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mSessionID

private SessionID mSessionID
Session ID


mStreamID

private java.lang.String mStreamID
Stream ID

Constructor Detail

SessionStreamDuplicateException

public SessionStreamDuplicateException(SessionID sessionID,
                                       java.lang.String streamID)
Constructor.

Parameters:
sessionID - Session ID.
streamID - Stream ID.
Method Detail

getSessionID

public SessionID getSessionID()
Gets the session ID.

Returns:
session ID.

getStreamID

public java.lang.String getStreamID()
Gets the stream ID.

Returns:
stream ID.