net.sf.mpxj
Class MPXJException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.mpxj.MPXJException
All Implemented Interfaces:
Serializable

public final class MPXJException
extends Exception

Standard exception type thrown by the MPXJ library.

See Also:
Serialized Form

Field Summary
static String CALENDAR_ERROR
          Invalid calendar error message.
static String INVALID_DATE
          Invalid date error message.
static String INVALID_DURATION
          Invalid duration error message.
static String INVALID_FILE
          Invalid file error message.
static String INVALID_FORMAT
          Invalid format error message.
static String INVALID_NUMBER
          Invalid number error message.
static String INVALID_OUTLINE
          Invalid outline error message.
static String INVALID_RECORD
          Invalid record error message.
static String INVALID_RESOURCE_FIELD_NAME
          Invalid resource field name error message.
static String INVALID_TASK_FIELD_NAME
          Invalid task field name error message.
static String INVALID_TIME
          Invalid time error message.
static String INVALID_TIME_UNIT
          Invalid time unit error message.
static String MAXIMUM_RECORDS
          Maximum records error message.
static String PASSWORD_PROTECTED
          Password protected file error message.
static String PASSWORD_PROTECTED_ENTER_PASSWORD
          Password protected file error message.
static String READ_ERROR
          Read error message.
 
Constructor Summary
MPXJException(String message)
          Constructor allowing a message to be added to this exception.
MPXJException(String message, Exception exception)
          Constructor for an exception containing a message and an embedded exception.
 
Method Summary
 
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
 

Field Detail

MAXIMUM_RECORDS

public static final String MAXIMUM_RECORDS
Maximum records error message.

See Also:
Constant Field Values

INVALID_TIME_UNIT

public static final String INVALID_TIME_UNIT
Invalid time unit error message.

See Also:
Constant Field Values

INVALID_TIME

public static final String INVALID_TIME
Invalid time error message.

See Also:
Constant Field Values

INVALID_DATE

public static final String INVALID_DATE
Invalid date error message.

See Also:
Constant Field Values

INVALID_NUMBER

public static final String INVALID_NUMBER
Invalid number error message.

See Also:
Constant Field Values

INVALID_DURATION

public static final String INVALID_DURATION
Invalid duration error message.

See Also:
Constant Field Values

INVALID_FILE

public static final String INVALID_FILE
Invalid file error message.

See Also:
Constant Field Values

INVALID_RECORD

public static final String INVALID_RECORD
Invalid record error message.

See Also:
Constant Field Values

READ_ERROR

public static final String READ_ERROR
Read error message.

See Also:
Constant Field Values

CALENDAR_ERROR

public static final String CALENDAR_ERROR
Invalid calendar error message.

See Also:
Constant Field Values

INVALID_OUTLINE

public static final String INVALID_OUTLINE
Invalid outline error message.

See Also:
Constant Field Values

INVALID_FORMAT

public static final String INVALID_FORMAT
Invalid format error message.

See Also:
Constant Field Values

INVALID_TASK_FIELD_NAME

public static final String INVALID_TASK_FIELD_NAME
Invalid task field name error message.

See Also:
Constant Field Values

INVALID_RESOURCE_FIELD_NAME

public static final String INVALID_RESOURCE_FIELD_NAME
Invalid resource field name error message.

See Also:
Constant Field Values

PASSWORD_PROTECTED

public static final String PASSWORD_PROTECTED
Password protected file error message.

See Also:
Constant Field Values

PASSWORD_PROTECTED_ENTER_PASSWORD

public static final String PASSWORD_PROTECTED_ENTER_PASSWORD
Password protected file error message.

See Also:
Constant Field Values
Constructor Detail

MPXJException

public MPXJException(String message)
Constructor allowing a message to be added to this exception.

Parameters:
message - message

MPXJException

public MPXJException(String message,
                     Exception exception)
Constructor for an exception containing a message and an embedded exception.

Parameters:
message - message
exception - original exception


Copyright © 2012. All Rights Reserved.