common-util

local.tomas.util.net
Class NetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by local.tomas.util.net.NetException
All Implemented Interfaces:
Serializable

public class NetException
extends Exception

Title: FTP Client Description: Copyright: Copyright (c) 2001 Company:

Version:
1.0
Author:
Tomas Teubner
See Also:
Serialized Form

Constructor Summary
NetException()
          Default constructor.
NetException(BaseClient.NetAck ack)
          Construct exception from negative network response.
NetException(String msg)
          Construct exception from message
NetException(String message, Throwable cause)
          Construct exception from message and root cause.
NetException(Throwable cause)
          Construct exception from root cause
 
Method Summary
 BaseClient.NetAck getAck()
          Get network response.
 
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

NetException

public NetException()
Default constructor.


NetException

public NetException(String message,
                    Throwable cause)
Construct exception from message and root cause.

Parameters:
message - the message
cause - the root cause

NetException

public NetException(Throwable cause)
Construct exception from root cause

Parameters:
cause - root cause

NetException

public NetException(BaseClient.NetAck ack)
Construct exception from negative network response.

Parameters:
ack - parsed response

NetException

public NetException(String msg)
Construct exception from message

Parameters:
msg - the message
Method Detail

getAck

public BaseClient.NetAck getAck()
Get network response.

Returns:
network response

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.