created mirror

This commit is contained in:
whatever
2026-09-14 20:19:29 -04:00
commit 6764738d92
600 changed files with 87187 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
/*
MissingTermError.java
*
* You may use and distribute under the terms of either the GNU Lesser
* General Public License, either version 2 of the license or,
* at your choice, any later version. Alternatively, you may use and
* distribute under the terms of the XPL.
*
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
* the licenses.
*
* This software 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 README
* file for more details.
*
*/
/*
* Written by Benjamin Fallenstein.
*/
package org.gzigzag;
import org.gzigzag.*;
/** An error to indicate a term in a clang program is missing.
*/
public class MissingTermError extends SyntaxError {
public MissingTermError(String s) { super(s); }
}

View File

@@ -0,0 +1,28 @@
/*
SyntaxError.java
*
* You may use and distribute under the terms of either the GNU Lesser
* General Public License, either version 2 of the license or,
* at your choice, any later version. Alternatively, you may use and
* distribute under the terms of the XPL.
*
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
* the licenses.
*
* This software 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 README
* file for more details.
*
*/
/*
* Written by Antti-Juhani Kaijanaho.
*/
package org.gzigzag;
import org.gzigzag.*;
public class SyntaxError extends ZZError {
public SyntaxError(String s) { super(s); }
}

View File

@@ -0,0 +1,34 @@
/*
ZZConnectWouldBreakError.java
*
* Copyright (c) 1999, Ted Nelson and Tuomas Lukka
*
* You may use and distribute under the terms of either the GNU Lesser
* General Public License, either version 2 of the license or,
* at your choice, any later version. Alternatively, you may use and
* distribute under the terms of the XPL.
*
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
* the licenses.
*
* This software 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 README
* file for more details.
*
*/
/*
* Written by Tuomas Lukka
*/
package org.gzigzag;
/** A connect operation would break an existing connection and is not
* allowed.
*/
public class ZZConnectWouldBreakError extends ZZError {
public static final String rcsid = "$Id: ZZConnectWouldBreakError.java,v 1.3 2000/09/19 10:31:59 ajk Exp $";
public ZZConnectWouldBreakError(String s) { super(s); }
}

42
Java/errors/ZZError.java Normal file
View File

@@ -0,0 +1,42 @@
/*
ZZError.java
*
* Copyright (c) 1999, Ted Nelson and Tuomas Lukka
*
* You may use and distribute under the terms of either the GNU Lesser
* General Public License, either version 2 of the license or,
* at your choice, any later version. Alternatively, you may use and
* distribute under the terms of the XPL.
*
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
* the licenses.
*
* This software 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 README
* file for more details.
*
*/
/*
* Written by Tuomas Lukka
*/
/*
* Things can happen to browsers in magical libraries that make
* having your face pulled off by tentacled monstrosities from
* the Dungeon Dimensions seem a mere light massage by comparison.
* - Terry Pratchett, Mort, p. 153
*/
package org.gzigzag;
/** A relatively recoverable ZigZag error.
* Later on, this should be subclassed and specialized as necessary.
* Note that catching this <em>is</em> ok - it's just that normally
* when it happens, we want to just let it unwind the stack without
* having to declare "throws ZZException" everywhere.
*/
public class ZZError extends Error {
public static final String rcsid = "$Id: ZZError.java,v 1.4 2000/09/19 10:31:59 ajk Exp $";
public ZZError(String s) { super(s); }
}

View File

@@ -0,0 +1,40 @@
/*
ZZFatalError.java
*
* Copyright (c) 2000, Ted Nelson and Tuomas Lukka
*
* You may use and distribute under the terms of either the GNU Lesser
* General Public License, either version 2 of the license or,
* at your choice, any later version. Alternatively, you may use and
* distribute under the terms of the XPL.
*
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
* the licenses.
*
* This software 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 README
* file for more details.
*
*/
/*
* Written by Tuomas Lukka
*/
/*
* Things can happen to browsers in magical libraries that make
* having your face pulled off by tentacled monstrosities from
* the Dungeon Dimensions seem a mere light massage by comparison.
* - Terry Pratchett, Mort, p. 153
*/
package org.gzigzag;
/** An irrecoverable ZZ error. Some consistency error that has
* made it dangerous to proceed: execution should be ceased at once.
*
*/
public class ZZFatalError extends Error {
public static final String rcsid = "$Id: ZZFatalError.java,v 1.3 2000/09/19 10:31:59 ajk Exp $";
public ZZFatalError(String s) { super(s); }
}

View File

@@ -0,0 +1,33 @@
/*
ZZInfiniteLoop.java
*
* Copyright (c) 1999, Ted Nelson and Tuomas Lukka
*
* You may use and distribute under the terms of either the GNU Lesser
* General Public License, either version 2 of the license or,
* at your choice, any later version. Alternatively, you may use and
* distribute under the terms of the XPL.
*
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
* the licenses.
*
* This software 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 README
* file for more details.
*
*/
/*
* Written by Tuomas Lukka
*/
package org.gzigzag;
/** An operation caused an infinite loop.
*/
public class ZZInfiniteLoop extends ZZError {
public static final String rcsid = "$Id: ZZInfiniteLoop.java,v 1.3 2000/09/19 10:31:59 ajk Exp $";
public ZZInfiniteLoop(String s) { super(s); }
}

View File

@@ -0,0 +1,34 @@
/*
ZZInvalidCursorPositionError.java
*
* Copyright (c) 1999-2000, Ted Nelson and Tuomas Lukka
*
* You may use and distribute under the terms of either the GNU Lesser
* General Public License, either version 2 of the license or,
* at your choice, any later version. Alternatively, you may use and
* distribute under the terms of the XPL.
*
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
* the licenses.
*
* This software 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 README
* file for more details.
*
*/
/*
* Written by Tuomas Lukka
*/
package org.gzigzag;
/** Tried to move a cursor to a place that can't have cursors on it.
* @deprecated Cursors can be anywhere, now.
*/
public class ZZInvalidCursorPositionError extends ZZError {
public static final String rcsid = "$Id: ZZInvalidCursorPositionError.java,v 1.4 2000/10/26 18:09:29 tjl Exp $";
public ZZInvalidCursorPositionError(String s) { super(s); }
}

View File

@@ -0,0 +1,33 @@
/*
ZZInvalidDimensionError.java
*
* Copyright (c) 1999, Ted Nelson and Tuomas Lukka
*
* You may use and distribute under the terms of either the GNU Lesser
* General Public License, either version 2 of the license or,
* at your choice, any later version. Alternatively, you may use and
* distribute under the terms of the XPL.
*
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
* the licenses.
*
* This software 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 README
* file for more details.
*
*/
/*
* Written by Tuomas Lukka
*/
package org.gzigzag;
/** A given dimension is invalid.
*/
public class ZZInvalidDimensionError extends ZZError {
public static final String rcsid = "$Id: ZZInvalidDimensionError.java,v 1.3 2000/09/19 10:31:59 ajk Exp $";
public ZZInvalidDimensionError(String s) { super(s); }
}