Module java.base

Class ResolutionException

All Implemented Interfaces:
Serializable

public class ResolutionException extends RuntimeException
Thrown when resolving a set of modules, or resolving a set of modules with service binding, fails.
Since:
9
See Also:
Configuration, Serialized Form
  • Constructor Details

    • ResolutionException

      public ResolutionException()
      Constructs a ResolutionException with no detail message.
    • ResolutionException

      public ResolutionException(String msg)
      Constructs a ResolutionException with the given detail message.
      Parameters:
      msg - The detail message; can be null
    • ResolutionException

      public ResolutionException(Throwable cause)
      Constructs an instance of this exception with the given cause.
      Parameters:
      cause - The cause; can be null
    • ResolutionException

      public ResolutionException(String msg, Throwable cause)
      Constructs a ResolutionException with the given detail message and cause.
      Parameters:
      msg - The detail message; can be null
      cause - The cause; can be null