public class EmptyPullRequestException extends IntegrityException
Constructor and Description |
---|
EmptyPullRequestException(KeyedMessage message,
PullRequestRef fromRef,
PullRequestRef toRef) |
Modifier and Type | Method and Description |
---|---|
PullRequestRef |
getFromRef() |
PullRequestRef |
getToRef() |
getKeyedMessage, getLocalizedMessage, getMessageKey
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EmptyPullRequestException(@Nonnull KeyedMessage message, @Nonnull PullRequestRef fromRef, @Nonnull PullRequestRef toRef)
message
- a message explaining why the pull request could not be createdfromRef
- the requested "from" ref for the pull requesttoRef
- the requested "to" ref for the pull request@Nonnull public PullRequestRef getFromRef()
@Nonnull public PullRequestRef getToRef()
Copyright © 2022 Atlassian. All rights reserved.