Debian Codegraph @

src/java/org/astrogrid/samp/xmlrpc/internal/XmlRpcFormatException.java

raw
1 package org.astrogrid.samp.xmlrpc.internal;
2
3 import java.io.IOException;
4
5 /**
6 * Exception thrown when an XML document which is intended for XML-RPC
7 * processing has the wrong format, for instance violates the XML-RPC spec.
8 *
9 * @author Mark Taylor
10 * @since 26 Aug 2008
11 */
12 class XmlRpcFormatException extends IOException {
13
14 /**
15 * No-arg constructor.
16 */
17 public XmlRpcFormatException() {
18 this( "Badly-formed XML-RPC request/response" );
19 }
20
21 /**
22 * Constructor.
23 *
24 * @param msg message
25 */
26 public XmlRpcFormatException( String msg ) {
27 super( msg );
28 }
29 }