-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9438607
commit aea150e
Showing
8 changed files
with
187 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/main/java/com/perforce/p4java/exception/LowResourceException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Copyright 2008 Perforce Software Inc., All Rights Reserved. | ||
*/ | ||
package com.perforce.p4java.exception; | ||
|
||
import com.perforce.p4java.Log; | ||
|
||
public class LowResourceException extends RequestException { | ||
public LowResourceException(String message, Throwable cause) { super(message, cause); } | ||
|
||
public LowResourceException(String message) { super(message); } | ||
|
||
public LowResourceException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
public LowResourceException(String message, String codeString) { | ||
super(message); | ||
if (codeString != null) { | ||
try { | ||
setCodes(new Integer(codeString)); | ||
} catch (Exception exc) { | ||
Log.exception(exc); | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
src/main/java/com/perforce/p4java/exception/PauseTimeException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Copyright 2008 Perforce Software Inc., All Rights Reserved. | ||
*/ | ||
package com.perforce.p4java.exception; | ||
|
||
import com.perforce.p4java.Log; | ||
|
||
public class PauseTimeException extends RequestException { | ||
public PauseTimeException(String message, Throwable cause) { super(message, cause); } | ||
|
||
public PauseTimeException(String message) { super(message); } | ||
|
||
public PauseTimeException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
public PauseTimeException(String message, String codeString) { | ||
super(message); | ||
if (codeString != null) { | ||
try { | ||
setCodes(new Integer(codeString)); | ||
} catch (Exception exc) { | ||
Log.exception(exc); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.