VDLtScannerException.java :  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » vdl » parser » Java Open Source

Java Open Source » Workflow Engines » pegasus 2.1.0 
pegasus 2.1.0 » org » griphyn » vdl » parser » VDLtScannerException.java
/*
 * This file or a portion of this file is licensed under the terms of
 * the Globus Toolkit Public License, found in file GTPL, or at
 * http://www.globus.org/toolkit/download/license.html. This notice must
 * appear in redistributions of this file, with or without modification.
 *
 * Redistributions of this Software, with or without modification, must
 * reproduce the GTPL in: (1) the Software, or (2) the Documentation or
 * some other similar material which is provided with the Software (if
 * any).
 *
 * Copyright 1999-2004 University of Chicago and The University of
 * Southern California. All rights reserved.
 */
package org.griphyn.vdl.parser;

import java.io.*;

/**
 * This class is used to signal errors while scanning only.
 * @see VDLtScanner
 *
 * @author Jens-S. Vckler
 * @version $Revision: 50 $
 */
public class VDLtScannerException 
  extends VDLtException
{
  /**
   * Constructs an exception that will contain the line number.
   * @param stream is the lineno stream to obtain the line number from.
   * @param message is the message to print for the failed parse.
   */
  public VDLtScannerException( LineNumberReader stream, String message )
  {
    super(stream.getLineNumber(),message);
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.