Class AptParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AptParseException
    extends ParseException
    Wraps an exception when parsing apt source documents.
    Since:
    1.0
    Version:
    $Id$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static long serialVersionUID
      serialVersionUID
    • Constructor Summary

      Constructors 
      Constructor Description
      AptParseException​(java.lang.String message)
      Construct a new AptParseException with the specified detail message.
      AptParseException​(java.lang.String message, java.lang.Exception e)
      Construct a new AptParseException with the specified detail message and cause.
      AptParseException​(java.lang.String message, java.lang.Exception e, int line, int column)
      Construct a new AptParseException with the specified detail message and cause.
      AptParseException​(java.lang.String message, java.lang.Exception e, java.lang.String name, int line, int column)
      Construct a new AptParseException with the specified cause, detail message, filename, line number and column number.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

    • Constructor Detail

      • AptParseException

        public AptParseException​(java.lang.String message)
        Construct a new AptParseException with the specified detail message.
        Parameters:
        message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
      • AptParseException

        public AptParseException​(java.lang.String message,
                                 java.lang.Exception e)
        Construct a new AptParseException with the specified detail message and cause.
        Parameters:
        message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
        e - the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • AptParseException

        public AptParseException​(java.lang.String message,
                                 java.lang.Exception e,
                                 java.lang.String name,
                                 int line,
                                 int column)
        Construct a new AptParseException with the specified cause, detail message, filename, line number and column number.
        Parameters:
        message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
        e - the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        name - Name of a file that couldn't be parsed. This can later be retrieved by the getFileName() method.
        line - The line number where the parsing failed. This can later be retrieved by the getLineNumber() method.
        column - The column number where the parsing failed. This can later be retrieved by the getColumnNumber() method.
      • AptParseException

        public AptParseException​(java.lang.String message,
                                 java.lang.Exception e,
                                 int line,
                                 int column)
        Construct a new AptParseException with the specified detail message and cause.
        Parameters:
        message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
        e - the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        line - The line number where the parsing failed. This can later be retrieved by the getLineNumber() method.
        column - The column number where the parsing failed. This can later be retrieved by the getColumnNumber() method.