info.bliki.api
Class UnexpectedAnswerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by info.bliki.api.NetworkException
              extended by info.bliki.api.UnexpectedAnswerException
All Implemented Interfaces:
java.io.Serializable

public class UnexpectedAnswerException
extends NetworkException

this Exception is thrown, when the connection to a server returns unexpected values

See Also:
Serialized Form

Constructor Summary
UnexpectedAnswerException()
          Constructs a new exception with null as its detail message.
UnexpectedAnswerException(java.lang.String message)
          Constructs a new exception with the specified detail message.
UnexpectedAnswerException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message and cause.
UnexpectedAnswerException(java.lang.Throwable cause)
          Constructs a new exception with the specified cause and a detail message of (cause==null ?
 
Method Summary
 ErrorData getErrorData()
           
 void setErrorData(ErrorData errorData)
           
 
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

UnexpectedAnswerException

public UnexpectedAnswerException()
Constructs a new exception with null as its detail message.


UnexpectedAnswerException

public UnexpectedAnswerException(java.lang.String message)
Constructs a new exception with the specified detail message.


UnexpectedAnswerException

public UnexpectedAnswerException(java.lang.String message,
                                 java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.


UnexpectedAnswerException

public UnexpectedAnswerException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Method Detail

getErrorData

public ErrorData getErrorData()

setErrorData

public void setErrorData(ErrorData errorData)


Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.