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

com.tibco.bw.maven.plugin.admin.client.ClientException Maven / Gradle / Ivy

Go to download

Plugin Code for Apache Maven and TIBCO BusinessWorks™. This is the Maven Plugin for BW6 and BWCE Build.

There is a newer version: 2.9.9
Show newest version
package com.tibco.bw.maven.plugin.admin.client;

public class ClientException extends Exception {
	private static final long serialVersionUID = -4148210972308062778L;
	private final int code;

    public ClientException(int code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }
    public ClientException(String message) {
        super(message);
        this.code = 100;
    }

    public int getCode() {
        return this.code;
    }

    public String toString() {
        return ClientException.class.getName() + ": " + getMessage() + " (" + getCode() + ")";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy