[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-cvs
Subject: [ jEdit-commits ] SF.net SVN: jedit:[25275] jEdit/trunk/org/jedit/io/HttpException.java
From: kpouer--- via jEdit-CVS <jedit-cvs () lists ! sourceforge ! net>
Date: 2020-04-19 17:08:36
Message-ID: 1587316117.163477.27912 () sfp-scm-2 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]
Revision: 25275
http://sourceforge.net/p/jedit/svn/25275
Author: kpouer
Date: 2020-04-19 17:08:36 +0000 (Sun, 19 Apr 2020)
Log Message:
-----------
I forgot it
Added Paths:
-----------
jEdit/trunk/org/jedit/io/HttpException.java
Added: jEdit/trunk/org/jedit/io/HttpException.java
===================================================================
--- jEdit/trunk/org/jedit/io/HttpException.java (rev 0)
+++ jEdit/trunk/org/jedit/io/HttpException.java 2020-04-19 17:08:36 UTC (rev 25275)
@@ -0,0 +1,43 @@
+/*
+ * jEdit - Programmer's Text Editor
+ * :tabSize=8:indentSize=8:noTabs=false:
+ * :folding=explicit:collapseFolds=1:
+ *
+ * Copyright © 2020 jEdit contributors
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+package org.jedit.io;
+
+import java.io.IOException;
+
+/**
+ * @author Matthieu Casanova
+ */
+public class HttpException extends IOException
+{
+ private final int responseCode;
+
+ public HttpException(int responseCode, String responseMessage)
+ {
+ super(responseMessage);
+ this.responseCode = responseCode;
+ }
+
+ public int getResponseCode()
+ {
+ return responseCode;
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
_______________________________________________
jEdit-CVS mailing list
jEdit-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic