SK.gnome.dwarf.mail.mime
Class MimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bySK.gnome.dwarf.mail.MailException
              extended bySK.gnome.dwarf.mail.mime.MimeException
All Implemented Interfaces:
java.io.Serializable

public class MimeException
extends MailException

This exception indicates a MIME syntax error.

See Also:
Serialized Form

Constructor Summary
MimeException(java.lang.String message)
          Creates a new MimeException with the given message.
MimeException(java.lang.String message, int line)
          Creates a new MimeException with the given message for an error occured on the given line.
MimeException(java.lang.String message, java.lang.Throwable cause)
          Creates a new MimeException with the given message and the root cause.
MimeException(java.lang.String message, java.lang.Throwable cause, int line)
          Creates a new MimeException with the given message and the root cause for an error occured on the given line.
 
Method Summary
 int getLineNumber()
          Returns the number of line where the syntax error occured.
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

MimeException

public MimeException(java.lang.String message)
Creates a new MimeException with the given message.

Parameters:
message - the message

MimeException

public MimeException(java.lang.String message,
                     int line)
Creates a new MimeException with the given message for an error occured on the given line.

Parameters:
message - the message
line - the line number

MimeException

public MimeException(java.lang.String message,
                     java.lang.Throwable cause)
Creates a new MimeException with the given message and the root cause.

Parameters:
message - the message
cause - the root cause

MimeException

public MimeException(java.lang.String message,
                     java.lang.Throwable cause,
                     int line)
Creates a new MimeException with the given message and the root cause for an error occured on the given line.

Parameters:
message - the message
cause - the root cause
line - the line number
Method Detail

getLineNumber

public int getLineNumber()
Returns the number of line where the syntax error occured.

Returns:
the line number

getMessage

public java.lang.String getMessage()


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.