Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions | Private Attributes

ogdf::PreconditionViolatedException Class Reference

Exception thrown when preconditions are violated. More...

#include <ogdf/basic/exceptions.h>

Inheritance diagram for ogdf::PreconditionViolatedException:
ogdf::Exception

List of all members.

Public Member Functions

 PreconditionViolatedException (PreconditionViolatedCode code, const char *file=NULL, int line=-1)
 Constructs a precondition violated exception.
 PreconditionViolatedException (const char *file=NULL, int line=-1)
 Constructs a precondition violated exception.
PreconditionViolatedCode exceptionCode () const
 Returns the error code of the exception.

Private Attributes

PreconditionViolatedCode m_exceptionCode
 The error code specifying the exception.

Detailed Description

Exception thrown when preconditions are violated.

Definition at line 226 of file exceptions.h.


Constructor & Destructor Documentation

ogdf::PreconditionViolatedException::PreconditionViolatedException ( PreconditionViolatedCode  code,
const char *  file = NULL,
int  line = -1 
) [inline]

Constructs a precondition violated exception.

Definition at line 230 of file exceptions.h.

ogdf::PreconditionViolatedException::PreconditionViolatedException ( const char *  file = NULL,
int  line = -1 
) [inline]

Constructs a precondition violated exception.

Definition at line 238 of file exceptions.h.


Member Function Documentation

PreconditionViolatedCode ogdf::PreconditionViolatedException::exceptionCode (  )  const [inline]

Returns the error code of the exception.

Definition at line 246 of file exceptions.h.


Member Data Documentation

The error code specifying the exception.

Definition at line 249 of file exceptions.h.


The documentation for this class was generated from the following file: