Class BeanCodeGenException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class BeanCodeGenException
    extends java.lang.RuntimeException
    Exception thrown by the code generator.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanCodeGenException​(java.lang.String message, java.io.File file, int line)
      Creates the exception.
      BeanCodeGenException​(java.lang.String message, java.lang.Throwable cause, java.io.File file)
      Creates the exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File getFile()
      Gets the line number.
      int getLine()
      Gets the line number.
      • 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
    • Constructor Detail

      • BeanCodeGenException

        public BeanCodeGenException​(java.lang.String message,
                                    java.io.File file,
                                    int line)
        Creates the exception.
        Parameters:
        message - the message
        file - the file that caused the error
        line - the line number
      • BeanCodeGenException

        public BeanCodeGenException​(java.lang.String message,
                                    java.lang.Throwable cause,
                                    java.io.File file)
        Creates the exception.
        Parameters:
        message - the message
        cause - the cause
        file - the file that caused the error
    • Method Detail

      • getFile

        public java.io.File getFile()
        Gets the line number.
        Returns:
        the line number
      • getLine

        public int getLine()
        Gets the line number.
        Returns:
        the line number