Graph Common

pl.psnc.graph.exception
Class GraphException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by pl.psnc.vlab.exception.AbstractException
              extended by pl.psnc.graph.exception.GraphException
All Implemented Interfaces:
java.io.Serializable

public class GraphException
extends pl.psnc.vlab.exception.AbstractException

GraphException class - represents the exceptions which are thrown by the JGraph component.

Author:
Dominik Stoklosa (~osa~)
See Also:
Serialized Form
Email address
osa@man.poznan.pl

Constructor Summary
GraphException(java.lang.Integer errorCode)
          Creates a new instance of GraphException with error code specified.
GraphException(java.lang.Integer errorCode, java.lang.Exception error)
          Creates a new instance of GraphException with error code and source exception specified.
GraphException(java.lang.Integer errorCode, java.lang.String messageKey)
          Creates a new instance of GraphException with error code and message key / message specified.
GraphException(java.lang.String messageKey, java.lang.Exception error)
          Creates a new instance of GraphException with error code and message key / message specified.
 
Method Summary
 java.lang.String getBundle()
           
 
Methods inherited from class pl.psnc.vlab.exception.AbstractException
getErrorCode, getLocalizedMessage, getMsgArguments, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphException

public GraphException(java.lang.Integer errorCode)
Creates a new instance of GraphException with error code specified.

Parameters:
errorCode - exception error code

GraphException

public GraphException(java.lang.Integer errorCode,
                      java.lang.Exception error)
Creates a new instance of GraphException with error code and source exception specified.

Parameters:
errorCode - exception error code
error - instance of source exception

GraphException

public GraphException(java.lang.Integer errorCode,
                      java.lang.String messageKey)
Creates a new instance of GraphException with error code and message key / message specified.

Parameters:
errorCode - exception error code
messageKey - message key to be taken from specified BUNDLE

GraphException

public GraphException(java.lang.String messageKey,
                      java.lang.Exception error)
Creates a new instance of GraphException with error code and message key / message specified.

Parameters:
messageKey - message key to be taken from specified BUNDLE
error - instance of source exception
Method Detail

getBundle

public java.lang.String getBundle()
Specified by:
getBundle in class pl.psnc.vlab.exception.AbstractException

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa