com.osbcp.cssparser
Class IncorrectFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.osbcp.cssparser.IncorrectFormatException
All Implemented Interfaces:
java.io.Serializable

public class IncorrectFormatException
extends java.lang.Exception

An exception that is thrown when the CSS parser finds a character it shouldn't have.

Author:
Christoffer Pettersson
See Also:
Serialized Form

Nested Class Summary
static class IncorrectFormatException.ErrorCode
          List of unique error codes.
 
Method Summary
 IncorrectFormatException.ErrorCode getErrorCode()
          Returns a unique error code associated with the error.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getErrorCode

public IncorrectFormatException.ErrorCode getErrorCode()
Returns a unique error code associated with the error.

Returns:
A unique error code associated with the error.