jET
1.0beta1


org.jet.sce
Class EditorKit.SceneryException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--org.jet.sce.EditorKit.SceneryException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
EditorKit

public static class EditorKit.SceneryException
extends java.io.IOException

The exception when scenery file is corrupted.

See Also:
Serialized Form

Constructor Summary
EditorKit.SceneryException(int line)
          Throws new scenery corruption exception with line number in scenery file where an error occured.
EditorKit.SceneryException(java.lang.String message, int line)
          Throws new scenery corruption exception with message and line number where an error occured.
 
Method Summary
 int getLine()
          Gets line number of scenery file where the exception occured.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditorKit.SceneryException

public EditorKit.SceneryException(java.lang.String message,
                                  int line)
Throws new scenery corruption exception with message and line number where an error occured.

Parameters:
message - Message.
line - Line number in corrupted scenery file.

EditorKit.SceneryException

public EditorKit.SceneryException(int line)
Throws new scenery corruption exception with line number in scenery file where an error occured.

Parameters:
line - Line number.
Method Detail

getLine

public int getLine()
Gets line number of scenery file where the exception occured.

Returns:
Line number.

jET
1.0beta1