ref_send API 2.17
defensive programming in Java

Class BadSyntax

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.waterken.syntax.BadSyntax
All Implemented Interfaces:, Immutable, Powerless

public class BadSyntax
extends java.lang.Exception
implements Powerless

Signals invalid syntax.

See Also:
Serialized Form

Field Summary
 java.lang.String source
          path to the source code
 PowerlessArray<IntArray> span
          location within source
Constructor Summary
BadSyntax(java.lang.String source, PowerlessArray<IntArray> span, java.lang.Exception cause)
          Constructs an instance.
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public final java.lang.String source
path to the source code


public final PowerlessArray<IntArray> span
location within source

Constructor Detail


public BadSyntax(java.lang.String source,
                 PowerlessArray<IntArray> span,
                 java.lang.Exception cause)
Constructs an instance.

source - source
span - span
cause - Throwable.getCause()

ref_send API 2.17
defensive programming in Java

Submit a bug or feature, or get help

Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.