1 // 2 // Description: 3 // SWFException Class 4 // 5 // Authors: 6 // Jonathan Shore <jshore@e-shuppan.com> 7 // Based on php wrapper developed by <dave@opaque.net> 8 // 9 // Copyright: 10 // Copyright 2001 E-Publishing Group Inc. Permission is granted to use or 11 // modify this code provided that the original copyright notice is included. 12 // 13 // This software is distributed with no warranty of liability, merchantability, 14 // or fitness for a specific purpose. 15 // 16 17 18 19 20 21 22 // 23 // SWFException Class 24 // exception from swf generation or rendering 25 // 26 // Notes 27 // - 28 // 29 public class SWFException extends Exception { 30 SWFException(String err)31 public SWFException (String err) 32 throws SWFException 33 { 34 this.err = err; 35 } 36 toString()37 public String toString () 38 { return "SWF: " + err; } 39 40 41 // variables 42 43 protected String err; 44 }; 45