com.ibm.websphere.personalization.resources
Class CreateResourceFromStreamException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.websphere.personalization.resources.ResourceException
              extended by com.ibm.websphere.personalization.resources.CreateResourceFromStreamException
All Implemented Interfaces:
java.io.Serializable

public class CreateResourceFromStreamException
extends ResourceException

This Exception indicates an error creating a resource from a data stream, normally as XML.

See Also:
ResourceManager3.createResourceFromStream(InputStreamReader, RequestContext, String), ResourceManager3.createResourcesFromStream(InputStreamReader, RequestContext, String), Serialized Form

Constructor Summary
CreateResourceFromStreamException()
          Creates a new CreateResourceFromStreamException with an empty cause and message.
CreateResourceFromStreamException(java.lang.Exception cause)
          Creates a new CreateResourceFromStreamException and inits the cause.
CreateResourceFromStreamException(java.lang.String message)
          Creates a new CreateResourceFromStreamException with the supplied message.
 
Method Summary
 java.lang.Exception getNestedException()
          Deprecated. Use getCause instead.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateResourceFromStreamException

public CreateResourceFromStreamException()
Creates a new CreateResourceFromStreamException with an empty cause and message.


CreateResourceFromStreamException

public CreateResourceFromStreamException(java.lang.String message)
Creates a new CreateResourceFromStreamException with the supplied message.


CreateResourceFromStreamException

public CreateResourceFromStreamException(java.lang.Exception cause)
Creates a new CreateResourceFromStreamException and inits the cause.

Parameters:
cause - The cause of this CreateResourceFromStreamException
Method Detail

getNestedException

public java.lang.Exception getNestedException()
Deprecated. Use getCause instead.