Class DuplicateNameException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DuplicateNameException
    extends java.lang.Exception
    Exception thrown if charging instance already exists with the supplied name.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DuplicateNameException()
      Create a DuplicateNameException.
      DuplicateNameException​(java.lang.String message)
      Create a DuplicateNameException with a cause.
      DuplicateNameException​(java.lang.String message, java.lang.Throwable cause)
      Create a DuplicateNameException with a detail message and cause.
      DuplicateNameException​(java.lang.Throwable cause)
      Create a DuplicateNameException with a detail message.
    • Method Summary

      • 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

      • DuplicateNameException

        public DuplicateNameException()
        Create a DuplicateNameException.
      • DuplicateNameException

        public DuplicateNameException​(java.lang.String message)
        Create a DuplicateNameException with a cause.
        Parameters:
        message - the detail message.
      • DuplicateNameException

        public DuplicateNameException​(java.lang.Throwable cause)
        Create a DuplicateNameException with a detail message.
        Parameters:
        cause - the reason this exception was thrown.
      • DuplicateNameException

        public DuplicateNameException​(java.lang.String message,
                                      java.lang.Throwable cause)
        Create a DuplicateNameException with a detail message and cause.
        Parameters:
        message - the detail message.
        cause - the reason this exception was thrown.