com.svincent.smalljava
Class InvalidDescriptorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.svincent.util.NestableException
                    |
                    +--com.svincent.smalljava.SmallJavaBuildingException
                          |
                          +--com.svincent.smalljava.InvalidDescriptorException
All Implemented Interfaces:
java.io.Serializable

public class InvalidDescriptorException
extends SmallJavaBuildingException

Thrown when parsing a type descriptor goes badly. The index of the character which caused the parsing to fail is given with the instruction.

This is a NestableException, which means that it can contain a subexception, if some other exception was thrown that caused this one.

Author:
Shawn Vincent
See Also:
NestableException, Serialized Form

Constructor Summary
InvalidDescriptorException()
           
InvalidDescriptorException(java.lang.String msg, int _pos)
           
InvalidDescriptorException(java.lang.String msg, java.lang.Throwable ex, int _pos)
           
 
Method Summary
 int getErrorOffset()
           
 java.lang.String getMessage()
           
 
Methods inherited from class com.svincent.util.NestableException
getNestedException, getStackTrace, main, printStackTrace, printStackTrace, testBar, testFoo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidDescriptorException

public InvalidDescriptorException()

InvalidDescriptorException

public InvalidDescriptorException(java.lang.String msg,
                                  int _pos)

InvalidDescriptorException

public InvalidDescriptorException(java.lang.String msg,
                                  java.lang.Throwable ex,
                                  int _pos)
Method Detail

getErrorOffset

public int getErrorOffset()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable



This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/

Copyright © 1999 Shawn P. Vincent.

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 (at your option) any later version.