VLab Common 1.2

pl.psnc.vlab.exception
Class VlabException

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

public class VlabException
extends AbstractException

VlabException class - represents the exceptions which are thrown in the system.

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

Constructor Summary
VlabException(java.lang.String message)
          Creates a new instance of VlabException
VlabException(java.lang.String message, java.lang.Exception e)
          Creates a new instance of VlabException
VlabException(java.lang.String message, int code)
          Creates a new instance of VlabException
VlabException(java.lang.String message, int code, java.lang.Exception e)
          Creates a new instance of VlabException
 
Method Summary
 java.lang.String getBundle()
          Get bundle with the i18n keys for the given exception
 
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

VlabException

public VlabException(java.lang.String message)
Creates a new instance of VlabException

Parameters:
message - error description

VlabException

public VlabException(java.lang.String message,
                     java.lang.Exception e)
Creates a new instance of VlabException

Parameters:
e - source exception
message - error description

VlabException

public VlabException(java.lang.String message,
                     int code)
Creates a new instance of VlabException

Parameters:
code - code number
message - error description

VlabException

public VlabException(java.lang.String message,
                     int code,
                     java.lang.Exception e)
Creates a new instance of VlabException

Parameters:
code - code number
message - error description
Method Detail

getBundle

public java.lang.String getBundle()
Description copied from class: AbstractException
Get bundle with the i18n keys for the given exception

Specified by:
getBundle in class AbstractException
Returns:
bundle name for the given exception

VLab Common 1.2

Copyright 2004 by VLAB Dominik Stoklosa.