Download this file
33 lines (28 with data), 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 | /**
* @author Ma Bingyao(andot@ujn.edu.cn)
* @copyright CoolCode.CN
* @package JAVA_PHPRPC_CLIENT
* @version 2.1
* @last_update 2006-08-09
* @link http://www.coolcode.cn/?p=205
*/
package org.phprpc;
import java.lang.*;
public class PHPRPCError extends Exception {
private int __errno;
private String __errstr;
protected PHPRPCError(int errno, String errstr)
{
this.__errno = errno;
this.__errstr = errstr;
}
public int getNumber() {
return this.__errno;
}
public String getMessage() {
return this.__errstr;
}
public String toString() {
return this.__errno + ":" + this.__errstr;
}
}
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.