ariba.util.io
Class DeserializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ariba.util.io.DeserializationException
All Implemented Interfaces:
java.io.Serializable

public class DeserializationException
extends java.lang.Exception

Exception signaling an exceptional condition during deserialization. This exception also provides a means for a Deserializer client to determine which line generated the exception.

See Also:
Serialized Form

Constructor Summary
DeserializationException(java.lang.String string, int lineNumber)
          Constructs a DeserializationException with the descriptive message string and lineNumber, the line number on which the error occurred.
 
Method Summary
 int lineNumber()
          Returns the line number at which the DeserializationException occurred.
 
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
 

Constructor Detail

DeserializationException

public DeserializationException(java.lang.String string,
                                int lineNumber)
Constructs a DeserializationException with the descriptive message string and lineNumber, the line number on which the error occurred.

Parameters:
string - error message
lineNumber - line number at which error occurred
Method Detail

lineNumber

public int lineNumber()
Returns the line number at which the DeserializationException occurred.

Returns:
the line number


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.