Skip to content

Source warning on compile #5

Description

@lukespragg
flow-commands\src\main\java\com\flowpowered\commands\annotated\WrappedCommandException.java:28: warning: [serial] serializable class WrappedCommandException has no definition of serialVersionUID
public class WrappedCommandException extends CommandException {
       ^

Activity

  1. olliestanley commented on Aug 12, 2014

    @olliestanley

    not significant - it's because Exception (which is, directly or indirectly, a superclass of CommandException, which is a superclass of WrappedCommandException) implements the Serializable interface. technically all objects which implement it are supposed to provide serialVersionUID, but it isn't going to break anything

    • it's a warning not an error :P
  2. Wolf480pl commented on Aug 12, 2014

    @Wolf480pl
    Contributor

    Does maven not output this warning?

  3. lukespragg commented on Aug 12, 2014

    @lukespragg
    MemberAuthor

    Maven probably shows the same, I just haven't looked yet. @DziNeIT, it was meant to be posted as a warning, not an error. It was posted though as it would be good to resolve the warning.

  4. changed the title [-]Source error on compile with Gradle[/-] [+]Source warning on compile with Gradle[/+] on Aug 12, 2014
  5. changed the title [-]Source warning on compile with Gradle[/-] [+]Source warning on compile[/+] on Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions