PageRenderTime 29ms CodeModel.GetById 19ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/protocols/jain-megaco/megaco-api/src/main/java/javax/megaco/MegacoException.java

http://mobicents.googlecode.com/
Java | 31 lines | 23 code | 8 blank | 0 comment | 0 complexity | 71e251fe4afb4015026460904f367534 MD5 | raw file
 1package javax.megaco;
 2
 3public class MegacoException extends Exception {
 4	private int assocHandle;
 5	private ExceptionInfoCode exceptionInfoCode = null;
 6
 7	public MegacoException() {
 8		super();
 9	}
10
11	public MegacoException(java.lang.String msg) {
12		super(msg);
13	}
14
15	public void setAssocHandle(int assocHandle) {
16		this.assocHandle = assocHandle;
17
18	}
19
20	public int getAssocHandle() {
21		return this.assocHandle;
22	}
23
24	public void setInfoCode(ExceptionInfoCode ecode) {
25		this.exceptionInfoCode = ecode;
26	}
27
28	public int getInfoCode() {
29		return this.exceptionInfoCode.getExceptionInfoCode();
30	}
31}