- From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 28 Aug 2009 12:40:04 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/exceptions In directory hutz:/tmp/cvs-serv22368/src/org/w3c/unicorn/exceptions Added Files: NoMimeTypeException.java EmptyDocumentException.java NoDocumentException.java UnknownParserException.java NoTaskException.java UnsupportedMimeTypeException.java ParameterException.java UnknownObserverException.java Log Message: Merging dev2 in HEAD --- NEW FILE: UnknownObserverException.java --- package org.w3c.unicorn.exceptions; public class UnknownObserverException extends Exception { private static final long serialVersionUID = -1948295592721781637L; public UnknownObserverException(String string) { super(string); } } --- NEW FILE: UnknownParserException.java --- package org.w3c.unicorn.exceptions; public class UnknownParserException extends Exception { private static final long serialVersionUID = 2319233115491989191L; public UnknownParserException(String string) { super(string); } } --- NEW FILE: NoTaskException.java --- // $Id: NoTaskException.java,v 1.2 2009/08/28 12:40:02 jean-gui Exp $ // Author: Jean-Guilhem Rouel // (c) COPYRIGHT MIT, ERCIM and Keio, 2006. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.exceptions; /** * NoTaskException<br /> * Created: Jul 7, 2006 5:43:15 PM<br /> * Exception used when the user didn't specify the task to perform * * @author Jean-Guilhem Rouel * */ public class NoTaskException extends Exception { private static final long serialVersionUID = -7057542417180953708L; public NoTaskException() { this("No task chosen"); } public NoTaskException(String message) { super(message); } } --- NEW FILE: UnsupportedMimeTypeException.java --- // $Id: UnsupportedMimeTypeException.java,v 1.2 2009/08/28 12:40:02 jean-gui Exp $ // Author: Jean-Guilhem Rouel // (c) COPYRIGHT MIT, ERCIM and Keio, 2006. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.exceptions; /** * UnsupportedMimeTypeException<br /> * Created: May 30, 2006 10:21:13 AM<br /> * Exception used to report errors when an observer does not support a mime type * * @author Jean-Guilhem ROUEL */ public class UnsupportedMimeTypeException extends Exception { private static final long serialVersionUID = -6581746591098195257L; public UnsupportedMimeTypeException(String message) { super("Unsupported Content-Type: " + message); } } --- NEW FILE: ParameterException.java --- // $Id: ParameterException.java,v 1.2 2009/08/28 12:40:02 jean-gui Exp $ // Author: Jean-Guilhem Rouel // (c) COPYRIGHT MIT, ERCIM and Keio, 2006. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.exceptions; /** * ParameterException<br /> * Created: Jun 9, 2006 5:35:55 PM<br /> * Exception used when the parameters aren't well formed */ public class ParameterException extends Exception { private static final long serialVersionUID = 6882194955581911106L; public ParameterException(String string) { super(string); } } --- NEW FILE: NoMimeTypeException.java --- // $Id: NoMimeTypeException.java,v 1.2 2009/08/28 12:40:01 jean-gui Exp $ // Author: Jean-Guilhem Rouel // (c) COPYRIGHT MIT, ERCIM and Keio, 2006. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.exceptions; /** * NoMimeTypeException<br /> * Created: Jul 7, 2006 5:30:51 PM<br /> * Exception that occurs when mime-type isn't specified * * @author Jean-Guilhem Rouel * */ public class NoMimeTypeException extends Exception { private static final long serialVersionUID = -1030043318614100474L; public NoMimeTypeException() { super(); } public NoMimeTypeException(String message) { super(message); } } --- NEW FILE: EmptyDocumentException.java --- // $Id: EmptyDocumentException.java,v 1.2 2009/08/28 12:40:01 jean-gui Exp $ // Author: Jean-Guilhem Rouel // (c) COPYRIGHT MIT, ERCIM and Keio, 2006. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.exceptions; /** * EmptyDocumentException<br /> * Created: Jul 7, 2006 5:26:56 PM<br /> * Exception used when the document is empty * * @author Jean-Guilhem Rouel * */ public class EmptyDocumentException extends Exception { private static final long serialVersionUID = 1785553648502514203L; public EmptyDocumentException() { super(); } public EmptyDocumentException(final String message) { super(message); } } --- NEW FILE: NoDocumentException.java --- // $Id: NoDocumentException.java,v 1.2 2009/08/28 12:40:02 jean-gui Exp $ // Author: Jean-Guilhem Rouel // (c) COPYRIGHT MIT, ERCIM and Keio, 2006. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.exceptions; /** * NoDocumentException<br /> * Created: Jul 7, 2006 5:26:38 PM<br /> * Exception used when there is no document to analyze * * @author Jean-Guilhem Rouel * */ public class NoDocumentException extends Exception { private static final long serialVersionUID = -4395530018963595605L; public NoDocumentException() { super(); } public NoDocumentException(String message) { super(message); } }
Received on Friday, 28 August 2009 12:40:12 UTC