ilog.views.graphlayout
Class IlvInappropriateGraphException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ilog.views.graphlayout.IlvGraphLayoutException
              extended by ilog.views.graphlayout.IlvInappropriateGraphException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IlvInappropriateLinkException

public class IlvInappropriateGraphException
extends IlvGraphLayoutException

This exception can occur when a layout algorithm cannot deal with a particular graph.

See Also:
IlvGraphLayout.performLayout(), IlvGraphLayoutReport.EXCEPTION_DURING_LAYOUT, Serialized Form

Constructor Summary
IlvInappropriateGraphException(IlvGraphModel graphModel, IlvGraphLayout layout)
          Creates a new IlvInappropriateGraphException with no specified detail message.
IlvInappropriateGraphException(IlvGraphModel graphModel, IlvGraphLayout layout, String message)
          Creates a new IlvInappropriateGraphException with a specified detail message.
 
Method Summary
 IlvGraphLayout getGraphLayout()
          Returns the layout instance for which the exception was raised, or null if the exception was raised by a direct call to methods of IlvGraphModel.
 IlvGraphModel getGraphModel()
          Returns the graph model for which the exception was raised.
 void setGraphLayout(IlvGraphLayout layout)
          Sets the layout instance for which the exception was raised.
 
Methods inherited from class ilog.views.graphlayout.IlvGraphLayoutException
getNext, setNext
 
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

IlvInappropriateGraphException

public IlvInappropriateGraphException(IlvGraphModel graphModel,
                                      IlvGraphLayout layout)
Creates a new IlvInappropriateGraphException with no specified detail message.

Parameters:
graphModel - The graph model for which the exception was raised. Must not be null.
layout - The layout instance that generated the exception, or null if the exception was raised by direct calls of methods of IlvGraphModel.
Since:
JViews 5.0
See Also:
getGraphModel(), getGraphLayout()

IlvInappropriateGraphException

public IlvInappropriateGraphException(IlvGraphModel graphModel,
                                      IlvGraphLayout layout,
                                      String message)
Creates a new IlvInappropriateGraphException with a specified detail message.

Parameters:
graphModel - The graph model for which the exception was raised. Must not be null.
layout - The layout instance that generated the exception, or null if the exception was raised by direct calls of methods of IlvGraphModel.
message - The message of the exception.
Since:
JViews 5.0
See Also:
getGraphModel(), getGraphLayout()
Method Detail

getGraphModel

public IlvGraphModel getGraphModel()
Returns the graph model for which the exception was raised.

Since:
JViews 5.0

setGraphLayout

public void setGraphLayout(IlvGraphLayout layout)
Sets the layout instance for which the exception was raised. You should not call this method.

Since:
JViews 5.0

getGraphLayout

public IlvGraphLayout getGraphLayout()
Returns the layout instance for which the exception was raised, or null if the exception was raised by a direct call to methods of IlvGraphModel.

Since:
JViews 5.0


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.