ref_send API 2.17
defensive programming in Java

org.waterken.syntax
Class BadSyntax

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.waterken.syntax.BadSyntax
All Implemented Interfaces:
java.io.Serializable, 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

source

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


span

public final PowerlessArray<IntArray> span
location within source

Constructor Detail

BadSyntax

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

Parameters:
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.