Class EKRAException

  • All Implemented Interfaces:
    java.io.Serializable

    public class EKRAException
    extends EBaseException
    A class represents a KRA exception. This is the base exception for all the KRA specific exceptions. It is associated with KRAResources.

    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EKRAException​(java.lang.String msgFormat)
      Constructs a KRA exception.
      EKRAException​(java.lang.String msgFormat, java.lang.Exception e)
      Constructs a KRA exception.
      EKRAException​(java.lang.String msgFormat, java.lang.Object[] params)
      Constructs a KRA exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getBundleName()
      Returns the bundle file name.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EKRAException

        public EKRAException​(java.lang.String msgFormat)
        Constructs a KRA exception.

        Parameters:
        msgFormat - constant from KRAResources.
      • EKRAException

        public EKRAException​(java.lang.String msgFormat,
                             java.lang.Exception e)
        Constructs a KRA exception.

        Parameters:
        msgFormat - constant from KRAResources.
        e - embedded exception.
      • EKRAException

        public EKRAException​(java.lang.String msgFormat,
                             java.lang.Object[] params)
        Constructs a KRA exception.

        Parameters:
        msgFormat - constant from KRAResources.
        params - additional parameters to the message.
    • Method Detail

      • getBundleName

        protected java.lang.String getBundleName()
        Returns the bundle file name.

        Overrides:
        getBundleName in class EBaseException
        Returns:
        name of bundle class associated with this exception.