Top Description Fields Constructors Methods
org.eclipse.jgit.errors

public Class InvalidPatternException

extends Exception
Class Inheritance
Known Direct Subclasses
org.eclipse.jgit.errors.NoClosingBracketException

Thrown when a pattern passed in an argument was wrong.

Field Summary

Modifier and TypeField and Description
private final String
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidPatternException(String
explains what was wrong with the pattern.
message
,
String
the invalid pattern.
pattern
)

Constructor for InvalidPatternException

public
InvalidPatternException(String
explains what was wrong with the pattern.
message
,
String
the invalid pattern.
pattern
,
Throwable
the cause.
cause
)

Constructor for InvalidPatternException

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the invalid pattern.
getPattern
()

Get the invalid pattern

Field Detail

patternback to summary
private final String pattern
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

InvalidPatternExceptionback to summary
public InvalidPatternException(String message, String pattern)

Constructor for InvalidPatternException

Parameters
message:String

explains what was wrong with the pattern.

pattern:String

the invalid pattern.

InvalidPatternExceptionback to summary
public InvalidPatternException(String message, String pattern, Throwable cause)

Constructor for InvalidPatternException

Parameters
message:String

explains what was wrong with the pattern.

pattern:String

the invalid pattern.

cause:Throwable

the cause.

Since
4.10

Method Detail

getPatternback to summary
public String getPattern()

Get the invalid pattern

Returns:String

the invalid pattern.