pduparseexception.java

来自「This serial client in JAVA allows sendin」· Java 代码 · 共 26 行

JAVA
26
字号
// Serial SMS Client for handling SMS communication with a mobile terminal
// (C) 2001 by Stefan Moscibroda


// Exception definition class

public class PduParseException extends Exception {

    PduParseException(String msg) {
	super(msg);
    }

    public static void main(String[] args) {

	try {
	    throw new PduParseException("exception test");
	} catch (PduParseException e) {
	    System.err.println("parse error: " + e);
	}

    }

}


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?