com.greenpepper.server.GreenPepperServerException Maven / Gradle / Ivy
package com.greenpepper.server;
/**
* GreenPepperServerException class.
*
* @author oaouattara
* @version $Id: $Id
*/
public class GreenPepperServerException extends Exception
{
private static final long serialVersionUID = 1L;
private String id = "";
/**
* Constructor for GreenPepperServerException.
*/
public GreenPepperServerException()
{
super();
}
/**
* Constructor for GreenPepperServerException.
*
* @param th a {@link java.lang.Throwable} object.
*/
public GreenPepperServerException(Throwable th)
{
super(th);
}
/**
* Constructor for GreenPepperServerException.
*
* @param id a {@link java.lang.String} object.
* @param msg a {@link java.lang.String} object.
*/
public GreenPepperServerException(String id, String msg)
{
super(msg);
this.id = id;
}
/**
* Constructor for GreenPepperServerException.
*
* @param id a {@link java.lang.String} object.
* @param msg a {@link java.lang.String} object.
* @param th a {@link java.lang.Throwable} object.
*/
public GreenPepperServerException(String id, String msg, Throwable th)
{
super(msg, th);
this.id = id;
}
/**
* Constructor for GreenPepperServerException.
*
* @param id a {@link java.lang.String} object.
* @param th a {@link java.lang.Throwable} object.
*/
public GreenPepperServerException(String id, Throwable th)
{
super(th);
this.id = id;
}
/**
* Getter for the field id
.
*
* @return a {@link java.lang.String} object.
*/
public String getId()
{
return this.id;
}
/**
* Setter for the field id
.
*
* @param id a {@link java.lang.String} object.
*/
public void setId(String id)
{
this.id = id;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy