org.graphdrawing.graphml.writer
Class GraphMLWriteException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.graphdrawing.graphml.writer.GraphMLWriteException
All Implemented Interfaces:
Serializable

public class GraphMLWriteException
extends IOException

This exception is thrown when the writer encounters an error.

See Also:
Serialized Form

Constructor Summary
GraphMLWriteException()
          Creates new exception.
GraphMLWriteException(String s)
          Creates new exception.
GraphMLWriteException(String source, Exception innerException)
          Create a new exception that encapsulates the given exception
 
Method Summary
 Exception getInnerException()
          Return a reference to an encapsulated exception
 String getSource()
          Return an identifier for the source where this exception originates
 
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

GraphMLWriteException

public GraphMLWriteException()
Creates new exception.


GraphMLWriteException

public GraphMLWriteException(String s)
Creates new exception.

Parameters:
s - message.

GraphMLWriteException

public GraphMLWriteException(String source,
                             Exception innerException)
Create a new exception that encapsulates the given exception

Parameters:
source - identifier for the source where this exception originates
innerException - an inner exception that is encapsulated by this instance
Method Detail

getInnerException

public Exception getInnerException()
Return a reference to an encapsulated exception

Returns:
a reference to an encapsulated exception, or null if the current instance does not encapsulate one

getSource

public String getSource()
Return an identifier for the source where this exception originates

Returns:
an identifier for the source where this exception originates


Copyright ©2000-2008, yWorks GmbH. All rights reserved.