All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gesellix.docker.client.DockerClientException.groovy Maven / Gradle / Ivy

package de.gesellix.docker.client

class DockerClientException extends RuntimeException {

  def detail

  DockerClientException(Throwable cause, detail = [:]) {
    super(cause)
    this.detail = detail
  }

  @Override
  String toString() {
    if (detail instanceof String) {
      return "DockerClientException{detail=$detail} ${super.toString()}"
    }
    else {
      return "DockerClientException{...} ${super.toString()}"
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy