-
Notifications
You must be signed in to change notification settings - Fork 872
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
1310764
commit 221d340
Showing
17 changed files
with
633 additions
and
241 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
17 changes: 17 additions & 0 deletions
17
core/src/main/java/com/orientechnologies/orient/core/exception/OPageIsBrokenException.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,17 @@ | ||
package com.orientechnologies.orient.core.exception; | ||
|
||
import com.orientechnologies.common.exception.OHighLevelException; | ||
|
||
/** | ||
* Exception which is thrown by storage when it detects that some pages of files are broken and it switches to "read only" mode. | ||
*/ | ||
public class OPageIsBrokenException extends OStorageException implements OHighLevelException { | ||
@SuppressWarnings("unused") | ||
public OPageIsBrokenException(OStorageException exception) { | ||
super(exception); | ||
} | ||
|
||
public OPageIsBrokenException(String string) { | ||
super(string); | ||
} | ||
} |
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.