wjhk.jupload2.exception
Class JUploadExceptionUploadFailed

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by wjhk.jupload2.exception.JUploadException
              extended by wjhk.jupload2.exception.JUploadExceptionUploadFailed
All Implemented Interfaces:
Serializable

public class JUploadExceptionUploadFailed
extends JUploadException

This exception occurs when an upload failed. It can be generated if the server response to the upload doesn't match the UploadPolicy.PROP_STRING_UPLOAD_SUCCESS regular expression.

Author:
etienne_sf, $Revision: 887 $
See Also:
Serialized Form

Constructor Summary
JUploadExceptionUploadFailed(Exception cause)
          Constructs a new exception with the specified cause.
JUploadExceptionUploadFailed(String msg)
          Constructs a new exception with the specified detail message.
JUploadExceptionUploadFailed(String msg, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class wjhk.jupload2.exception.JUploadException
getClassNameAndClause, getLocation
 
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

JUploadExceptionUploadFailed

public JUploadExceptionUploadFailed(String msg)
Constructs a new exception with the specified detail message.

Parameters:
msg - The message for this instance.

JUploadExceptionUploadFailed

public JUploadExceptionUploadFailed(Exception cause)
Constructs a new exception with the specified cause.

Parameters:
cause - The cause for this instance.

JUploadExceptionUploadFailed

public JUploadExceptionUploadFailed(String msg,
                                    Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
msg - The message for this instance.
cause - The cause for this instance.