cmppinit$myerrorhandle.java

来自「短信平台CMPP30 的JAVA程序,(含SQL数据库)」· Java 代码 · 共 41 行

JAVA
41
字号
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   CMPPInit.java

package com.cmpp3_0.config;

import java.io.PrintStream;
import org.xml.sax.*;

// Referenced classes of package com.cmpp3_0.config:
//            CMPPInit

class MyErrorHandle
    implements ErrorHandler
{

    public void error(SAXParseException e)
        throws SAXException
    {
        System.out.println("an error was found at line:" + e.getLineNumber() + ",row:" + e.getColumnNumber() + "!");
    }

    public void fatalError(SAXParseException e)
        throws SAXException
    {
        System.out.println("A Fatal Error occured at line:" + e.getLineNumber() + ",row:" + e.getColumnNumber() + "!");
        System.out.println("The CMPPInit is not completed!Please check the xml file!");
    }

    public void warning(SAXParseException e)
        throws SAXException
    {
        System.out.println("A Warning was found when parsing the xml file!");
    }

    public MyErrorHandle()
    {
    }
}

⌨️ 快捷键说明

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