public class IlvInappropriateGraphException extends IlvGraphLayoutException
IlvGraphLayout.performLayout()
,
IlvGraphLayoutReport.EXCEPTION_DURING_LAYOUT
,
Serialized FormConstructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
getNext, setNext
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IlvInappropriateGraphException(IlvGraphModel graphModel, IlvGraphLayout layout)
IlvInappropriateGraphException
with no
specified detail message.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
.getGraphModel()
,
getGraphLayout()
public IlvInappropriateGraphException(IlvGraphModel graphModel, IlvGraphLayout layout, String message)
IlvInappropriateGraphException
with a
specified detail message.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.getGraphModel()
,
getGraphLayout()
public IlvGraphModel getGraphModel()
public void setGraphLayout(IlvGraphLayout layout)
public IlvGraphLayout getGraphLayout()
null
if the exception was raised by a direct call to
methods of IlvGraphModel
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.