Class ServerException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    HttpException, InternalException

    public class ServerException
    extends Exception
    ServerException is the super class of all server exception classes. An instance of this class is thrown whenever finding problems in working with the result returned by the server.
    Author:
    Andreas Schmid
    See Also:
    Serialized Form
    • Constructor Detail

      • ServerException

        public ServerException​(String message)
        creates an instance of this class taking an error description as argument
        Parameters:
        message - a string describing the error
      • ServerException

        public ServerException​(String message,
                               Exception exception)