Class ComposerException

  • All Implemented Interfaces:
    java.io.Serializable

    @ThreadSafe
    public class ComposerException
    extends java.lang.RuntimeException
    Represents an exception when handling a composer.json or composer.lock file. Generally used to wrap a downstream exception.
    Author:
    colezlaw
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ComposerException()
      Creates a ComposerException with default message.
      ComposerException​(java.lang.String message)
      Creates a ComposerException with the specified message.
      ComposerException​(java.lang.String message, java.lang.Throwable cause)
      Creates a Composer exception with the specified message and cause.
    • 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

      • ComposerException

        public ComposerException()
        Creates a ComposerException with default message.
      • ComposerException

        public ComposerException​(java.lang.String message)
        Creates a ComposerException with the specified message.
        Parameters:
        message - the exception message
      • ComposerException

        public ComposerException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Creates a Composer exception with the specified message and cause.
        Parameters:
        message - the message
        cause - the underlying cause