Class DiscoveryException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DiscoveryException
    extends java.lang.RuntimeException

    An exception that is thrown only if a suitable service instance cannot be created by ServiceFactory

    Copied from LogConfigurationException

    Version:
    $Revision: 480374 $ $Date: 2006-11-28 19:33:25 -0800 (Tue, 28 Nov 2006) $
    Author:
    Craig R. McClanahan
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Throwable cause
      The underlying cause of this exception.
    • Constructor Summary

      Constructors 
      Constructor Description
      DiscoveryException()
      Construct a new exception with null as its detail message.
      DiscoveryException​(java.lang.String message)
      Construct a new exception with the specified detail message.
      DiscoveryException​(java.lang.String message, java.lang.Throwable cause)
      Construct a new exception with the specified detail message and cause.
      DiscoveryException​(java.lang.Throwable cause)
      Construct a new exception with the specified cause and a derived detail message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Return the underlying cause of this exception (if any).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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
    • Field Detail

      • cause

        protected java.lang.Throwable cause
        The underlying cause of this exception.
    • Constructor Detail

      • DiscoveryException

        public DiscoveryException()
        Construct a new exception with null as its detail message.
      • DiscoveryException

        public DiscoveryException​(java.lang.String message)
        Construct a new exception with the specified detail message.
        Parameters:
        message - The detail message
      • DiscoveryException

        public DiscoveryException​(java.lang.Throwable cause)
        Construct a new exception with the specified cause and a derived detail message.
        Parameters:
        cause - The underlying cause
      • DiscoveryException

        public DiscoveryException​(java.lang.String message,
                                  java.lang.Throwable cause)
        Construct a new exception with the specified detail message and cause.
        Parameters:
        message - The detail message
        cause - The underlying cause
    • Method Detail

      • getCause

        public java.lang.Throwable getCause()
        Return the underlying cause of this exception (if any).
        Overrides:
        getCause in class java.lang.Throwable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable