com.softwareag.tamino.db.api.io
Class TStreamWriteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.softwareag.tamino.db.api.common.TException
              extended by com.softwareag.tamino.db.api.io.TStreamWriteException
All Implemented Interfaces:
java.io.Serializable

public class TStreamWriteException
extends TException

TStreamWriteException is the general exception that should be thrown when problems writing a stream occur. This can be the case during the serialization of a given XML object to an output stream or writer.

Version:
$Revision: 1.7 $
Author:
Marcus Schreyer
See Also:
Serialized Form

Constructor Summary
TStreamWriteException(java.lang.Exception nestedException, java.util.Locale locale)
          Public Constructor.
TStreamWriteException(java.lang.String message, java.lang.Exception nestedException, java.util.Locale locale)
          Public Constructor.
TStreamWriteException(java.lang.String message, java.util.Locale locale)
          Public Constructor.
TStreamWriteException(TResourceId resourceId, java.lang.Exception exception, java.util.Locale locale)
          Initializes a TStreamWriteException instance with a resource message and an internal nested exception.
TStreamWriteException(TResourceId resourceId, java.util.Locale locale)
          Initializes a TException instance with a resource message.
 
Method Summary
 
Methods inherited from class com.softwareag.tamino.db.api.common.TException
getAccessFailureException, getAdditionalXMLMessageContent, getCause, getDeepestException, getDeepestTException, getExceptionMessage, getLocale, getMessageCode, getMessageContent, getNestedException, getResourceMessage, getRootCause, getRootTCause, getXMLMessage, getXMLMessage, hasAccessFailureException, hasCause, hasNestedException, printStackTrace, printStackTrace, printStackTrace, setLocale, toString, toXMLString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TStreamWriteException

public TStreamWriteException(java.lang.String message,
                             java.lang.Exception nestedException,
                             java.util.Locale locale)
Public Constructor. Sets a message and an internal nested exception.

Parameters:
message - is handed further to the base class.
nestedException - can be nested into a TAccessException if it is given.
locale - the locale.

TStreamWriteException

public TStreamWriteException(java.lang.Exception nestedException,
                             java.util.Locale locale)
Public Constructor. Sets an internal nested exception.

Parameters:
nestedException - can be nested into a TAccessException if it is given.
locale - the locale.

TStreamWriteException

public TStreamWriteException(java.lang.String message,
                             java.util.Locale locale)
Public Constructor. Sets a message.

Parameters:
message - is handed further to the base class.
locale - the locale.

TStreamWriteException

public TStreamWriteException(TResourceId resourceId,
                             java.lang.Exception exception,
                             java.util.Locale locale)
Initializes a TStreamWriteException instance with a resource message and an internal nested exception.

Parameters:
resourceId - containing the message of this exception
nestedException - can be nested into a TException if it is given
locale - the locale.
See Also:
TResourceId

TStreamWriteException

public TStreamWriteException(TResourceId resourceId,
                             java.util.Locale locale)
Initializes a TException instance with a resource message.

Parameters:
resourceId - containing the message of this exception
locale - the locale.
See Also:
TResourceId


Copyright (c) 2013 Software AG. All Rights Reserved.