Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: fi/kvanttisofta/sms/PduParseException.java


1   //
2   // Copyright (c) 2001 Kvanttisofta oy.  All rights reserved.
3   //
4   //
5   // an exception class representing SMS PDU parsing exceptions.
6   // (aspa@users.sourceforge.net)
7   //
8   // $Id: PduParseException.java,v 1.1.1.1 2001/04/18 04:19:00 aspa Exp $.
9   //
10  
11  package fi.kvanttisofta.sms;
12  
13  public class PduParseException extends Exception {
14  
15      PduParseException(String msg) {
16    super(msg);
17      }
18  
19      public static void main(String[] args) {
20  
21    try {
22        throw new PduParseException("exception test");
23    } catch (PduParseException e) {
24        System.err.println("parse error: " + e);
25    }
26    
27      }
28  
29  }