Class DefaultPooledObject.AbandonedObjectCreatedException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    DefaultPooledObject<T>

    static class DefaultPooledObject.AbandonedObjectCreatedException
    extends java.lang.Exception
    Used to track how an object was obtained from the pool (the stack trace of the exception will show which code borrowed the object) and when the object was borrowed.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long _createdTime  
      private static java.text.SimpleDateFormat format
      Date format
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

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

      • format

        private static final java.text.SimpleDateFormat format
        Date format
      • _createdTime

        private final long _createdTime
    • Constructor Detail

      • AbandonedObjectCreatedException

        public AbandonedObjectCreatedException()
        Create a new instance.

        See Also:
        Exception()
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable