org.jasen.error
Class ParseErrorType

java.lang.Object
  extended byorg.jasen.error.ParseErrorType
All Implemented Interfaces:
Serializable

public final class ParseErrorType
extends Object
implements Serializable

Enumerated class to represent error types for parsing errors.

Author:
Jason Polites
See Also:
Serialized Form

Field Summary
static ParseErrorType MALFORMED_MIME
           
static ParseErrorType OTHER
           
static ParseErrorType PARSE_ERROR
           
static ParseErrorType UNKNOWN_ERROR
           
static ParseErrorType UNSUPPORTED_ENCODING
           
 
Method Summary
 boolean equals(Object obj)
           
 int getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN_ERROR

public static final ParseErrorType UNKNOWN_ERROR

MALFORMED_MIME

public static final ParseErrorType MALFORMED_MIME

PARSE_ERROR

public static final ParseErrorType PARSE_ERROR

UNSUPPORTED_ENCODING

public static final ParseErrorType UNSUPPORTED_ENCODING

OTHER

public static final ParseErrorType OTHER
Method Detail

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

getType

public int getType()
Returns:
Returns the type.