Class RegistryErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class RegistryErrorException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RegistryErrorException​(java.lang.Exception ex)
      Constructor with other exception to throw
      RegistryErrorException​(java.lang.String reason)
      Constructor with message to throw
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RegistryErrorException getException​(java.lang.Exception ex)
      Method returns a RegistryErrorException - either creating it new or if it is already a registryerrorexception it returns the original one
      • Methods inherited from class java.lang.Throwable

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

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

      • RegistryErrorException

        public RegistryErrorException​(java.lang.String reason)
        Constructor with message to throw
        Parameters:
        reason - String
      • RegistryErrorException

        public RegistryErrorException​(java.lang.Exception ex)
        Constructor with other exception to throw
        Parameters:
        ex - Exception
    • Method Detail

      • getException

        public static RegistryErrorException getException​(java.lang.Exception ex)
        Method returns a RegistryErrorException - either creating it new or if it is already a registryerrorexception it returns the original one
        Parameters:
        ex - Exception
        Returns:
        RegistryErrorException