Package javax.jdo

Class JDOReadOnlyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JDOReadOnlyException
    extends JDOUserException
    This class represents exceptions caused by an attempt to update a datastore when the PMF was created as "read-only".
    Since:
    2.2
    Version:
    2.2
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JDOReadOnlyException()
      Constructs a new JDOReadOnlyException without a detail message.
      JDOReadOnlyException​(java.lang.String msg)
      Constructs a new JDOReadOnlyException with the specified detail message.
      JDOReadOnlyException​(java.lang.String msg, java.lang.Throwable nested)
      Constructs a new JDOReadOnlyException with the specified detail message and nested Throwables.
      JDOReadOnlyException​(java.lang.String msg, java.lang.Throwable[] nested)
      Constructs a new JDOReadOnlyException with the specified detail message and nested Throwables.
    • Constructor Detail

      • JDOReadOnlyException

        public JDOReadOnlyException()
        Constructs a new JDOReadOnlyException without a detail message.
        Since:
        2.2
      • JDOReadOnlyException

        public JDOReadOnlyException​(java.lang.String msg)
        Constructs a new JDOReadOnlyException with the specified detail message.
        Parameters:
        msg - the detail message.
        Since:
        2.2
      • JDOReadOnlyException

        public JDOReadOnlyException​(java.lang.String msg,
                                    java.lang.Throwable[] nested)
        Constructs a new JDOReadOnlyException with the specified detail message and nested Throwables.
        Parameters:
        msg - the detail message.
        nested - the nested Throwable[].
        Since:
        2.2
      • JDOReadOnlyException

        public JDOReadOnlyException​(java.lang.String msg,
                                    java.lang.Throwable nested)
        Constructs a new JDOReadOnlyException with the specified detail message and nested Throwables.
        Parameters:
        msg - the detail message.
        nested - the nested Throwable.
        Since:
        2.2